Hopefully last question for a while.
Posted: Fri Apr 19, 2019 4:16 pm
Hi Jeff,
i created a window named JobInfo and placed a subform named JobInfo_DETAIL on it. Then i placed on the Subform a Date- and a Timepicker. In the Painter i selected the Tabpage "Datawindow" and changed the Property "Export Controls" to true !
Then i added a PushButton named UpdateButton to the JobInfo form. When i click on that button i see the content of both DTPs without any problems.
regards
Karl-Heinz
i created a window named JobInfo and placed a subform named JobInfo_DETAIL on it. Then i placed on the Subform a Date- and a Timepicker. In the Painter i selected the Tabpage "Datawindow" and changed the Property "Export Controls" to true !
Then i added a PushButton named UpdateButton to the JobInfo form. When i click on that button i see the content of both DTPs without any problems.
Code: Select all
METHOD UpdateButton () CLASS JobInfo
LOCAL oTB AS TextBox
oTB := TextBox{ SELF, "" ,oSFJobInfo_DETAIL:oDCDateTimePicker1:SelectedTIme + crlf + ;
DToC ( oSFJobInfo_DETAIL:oDCDateTimePicker2:SelectedDate ) }
oTB:Type := BUTTONOKAY + BOXICONASTERISK
oTB:Show()
RETURN SELF
regards
Karl-Heinz