mumpel Posted September 16, 2023 Share Posted September 16, 2023 Hello! #Region ;**** Elftes Register füllen **** Global $TabSheet11 = GUICtrlCreateTabItem("Kalender") ; Kontoname GUICtrlCreateLabel('Name der Veranstaltung:', 225, 60) Global $vcalWorkname = GUICtrlCreateEdit('', 225, 80, 380, 20, BitOR($ES_WANTRETURN, $ES_MULTILINE)) ; Anzeigename GUICtrlCreateLabel('Kurzbeschreibung der Veranstaltung:', 225, 110) Global $vcalDescription = GUICtrlCreateEdit('', 225, 130, 380, 60, BitOR($ES_WANTRETURN, $ES_MULTILINE)) GUICtrlCreateLabel('Beginn:', 225, 210) Global $vcalBeginn = _GUICtrlDTP_Create($TabSheet11, 225, 230, 380, 100) _GUICtrlDTP_SetFormat($vcalBeginn, " ") GUICtrlCreateLabel('Ende:', 225, 360) Global $vcalEnde = _GUICtrlDTP_Create($TabSheet11, 225, 380, 380, 100) _GUICtrlDTP_SetFormat($vcalEnde, " ") #EndRegion ;**** --- **** I would like to integrate a date picker and time picker in a tab control (see code). Unfortunately this doesn't work within a tab control. Is there another way to integrate a date picker and a time picker? Thanks! Greetings, René Link to comment Share on other sites More sharing options...
ahmet Posted September 16, 2023 Share Posted September 16, 2023 (edited) Hello, when posting reproducers it is recommended to post runnable code. You might find Tabs - Wiki helpful and GUICtrlCreateDate helpful. When using tab control it is best to use internal AutoIt control creation function because AutoIt handles showing and hiding controls for you. If that is not what you want describe in more detail what does not work as expected and post runnable snippet. Edited September 16, 2023 by ahmet Edit: Noticed this is wrong forum section. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 16, 2023 Moderators Share Posted September 16, 2023 Moved to the appropriate AutoIt General Help and Support forum, as the AutoIt Example Scripts forum very clearly states: Quote Share your cool AutoIt scripts, UDFs and applications with others. Do not post general support questions here, instead use the AutoIt Help and Support forums. Moderation Team Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
mumpel Posted September 16, 2023 Author Share Posted September 16, 2023 (edited) I already had "GUICtrlCreateDate", but something didn't work properly. The date selection is now correct. For the time, I would rather have a "click selector" like the date, instead of the spin button. What should I look for? The dateand time picker is at: #Region ;**** Elftes Register füllen **** QRCode-Generator.zip Edited September 16, 2023 by mumpel Link to comment Share on other sites More sharing options...
ahmet Posted September 16, 2023 Share Posted September 16, 2023 I do not think that there is a possibility to change spin button (up/down) to arrow. Link to comment Share on other sites More sharing options...
mumpel Posted September 16, 2023 Author Share Posted September 16, 2023 It shouldn't be arrows. But a simple selection with a mouse click, like with the date. Link to comment Share on other sites More sharing options...
ahmet Posted September 17, 2023 Share Posted September 17, 2023 Date-time control supports only spin button. Do you expect to show a clock when you would "click" time control? argumentum 1 Link to comment Share on other sites More sharing options...
Zedna Posted September 18, 2023 Share Posted September 18, 2023 Look here: Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
mumpel Posted September 18, 2023 Author Share Posted September 18, 2023 @Zedna What does an IP address have to do with time? Link to comment Share on other sites More sharing options...
Zedna Posted September 18, 2023 Share Posted September 18, 2023 (edited) If you must ask this question then my answer probably is not for you (but for others with the same problem YES). In my mentioned topic is GENERAL explanation/solution of this (also your) problem with UDFs controls in Tabs ... Edited September 18, 2023 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
mumpel Posted September 20, 2023 Author Share Posted September 20, 2023 I'll take a look at it. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now