Link to home
Start Free TrialLog in
Avatar of isnoend2001
isnoend2001Flag for United States of America

asked on

Have date picker open to a date that is clicked in a mshflexgrid vb6

i have 2 columns of dates in a mshflexgrid that when clicked open datepicker to the date clicked
have the new selected date entered into mshflexgrid replacing the date clicked in this format 02-25-2016 not 02/25/2016
the date picker form will close when a new date is selected
how to do this ?
project enclosed
User generated imagetasks.zip
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Try this. You'll need to supply the .dat file. The changes are marked with "Q28863759 A".
Q28863759A.zip
Avatar of isnoend2001

ASKER

the year or month cannot be changed i clicked the the little cmdbuttons and the form just unloads
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks, but i was trying to avoid using a command button, just like my first post on using frmCalendar to avoid clicks
IMO it's better to have a command button and it doesn't matter it's frmDatePicker or frmCalendar. The reason I say that is that if they choose the wrong date they 1) may not even notice and 2) they'd have to do it again. With the command button they at least get a chance to confirm that they've made the choice they intended.
After giving more thought i am not going to use datepicker, just frmCalendar. just need to distinguish between new and editing the grid