DateTimePicker Questions

1

Disable Form Controls in VB 2008 until selected
Beginning prog. student here… I have a form with multiple controls, and i want everything to be disabled except the datetimepicker. Once a date is selected, it should make the whole form usable. I’ve searched the web, and can’t find the right solutin. I found this sight, and hoping someone can help…Thanks!!

Answer Question   |  March 5, 2009  8:35 AM
Active Selection, DateTimePicker, Focus and Selection, Inactive Selection, VB, VB 2008, VB controls, Visual Basic, Visual Basic 2008
asked by:
5 pts.

scroll bar in dbgrid
As i am scrolling through the dbgrid in delphi the datetime picker is showing the date that is present in the first cell value.Please tell me how to avoid this condition and display whatever date is present on that particular cell of that dbgrid.Thanks in advance.

Answer Question   |  June 26, 2008  12:29 PM
DateTimePicker, DBGrid, Delphi, Delphi 5.0
asked by:
240 pts.

Align the datetimepicker to the cell
Can anyone tell me what is the logic behind gutter:=(Rect.Bottom-Rect.Top) div 5; the_rect.Top:=Rect.Top+gutter; the_rect.Left:=Rect.Left+(gutter-1); the_rect.Bottom:=Rect.Bottom-gutter; the_rect.Right:=(the_rect.Bottom-the_rect.Top)+the_rect.Left; But the above logic is not aligning the datetimepicker to the cell.Can anyone tell me how can i acheive that?Thanks in advance.

Answer Question   |  June 4, 2008  1:18 PM
DateTimePicker, Delphi, Delphi 5.0
asked by:
240 pts.

1