jshulse
Posts: 9
|
| Posted: 08/31/2006, 1:15 PM |
|
I have an updateable grid with a date field and date picker, under certain conditions I just want to display the date in a label, when the date text field is visible = false I would like to hide the date picker as well. I have tried everything I can think of to hide it with no success. Any help would be appreciated.
|
 |
 |
Benjamin Krajmalnik
|
| Posted: 09/07/2006, 8:31 PM |
|
In the before show of the date picker:
If whatevercondition then
EventCaller.Visible = false
end if
|
|
|
 |
jshulse
Posts: 9
|
| Posted: 09/12/2006, 6:06 AM |
|
Benjamin,
Thanks for the reply. Unforunately the date picker does not have a beforeshow event (I think because it is Java). Has anyone had any success hiding the date picker conditionally?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 09/12/2006, 6:22 AM |
|
You can place the Date Picker into a Panel and then use panel's or form's Before Show to hide it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
jshulse
Posts: 9
|
| Posted: 09/18/2006, 6:47 AM |
|
Peterr,
The frame was the ticket, it worked like a charm. Thanks. 
Jan Shulse
|
 |
 |
|