Hi
How can I open a CalendarGadget when I click on a StringGadget and then click on a date and put the clicked date on the StringGadget?
Thank You
CalendarGadget
Re: CalendarGadget
Thank you
How can I eliminate the time part of the DateGadget?
How can I eliminate the time part of the DateGadget?
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: CalendarGadget
You have the Mask$ parameter.
With time:
Without time:
With time:
Code: Select all
EnableExplicit
If OpenWindow(0, 0, 0, 200, 250, "DateGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
DateGadget(0, 10, 10, 180, 25, "Datum: %mm/%dd/%yyyy Time: %hh:%ii")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Code: Select all
EnableExplicit
If OpenWindow(0, 0, 0, 200, 250, "DateGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
DateGadget(0, 10, 10, 180, 25, "Datum: %mm/%dd/%yyyy")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Re: CalendarGadget
Great
Thank You
Thank You