W
warbornster
In a combobox of style DropDownCombo, Im having a list of end times,
and just like the appointment end time Im showing how many hours there
is from the starttime (xx:xx (x hours)). Now that someone want to
select some of those values both the time and the text come up, and I
dont want that, so I thought that I could use
Item_PropertyChange(ByVal Name) and when the name is "End", take the
whole string, erase everything past the 5 first chars, and then let
this be the time. This doesn't work though, the event never execute
because the string isnt a vaild timevalue, so it only works if I
select something like 15:00. I then tried with another method, now
trying to fire an unbound propertychange event. This would have worked
well if my combobox didnt were of the type DropDownCombo, so I changed
the type to DropDownList. Of course this triggers a whole bunch of
new errors, so this option seems to be out of hand. Anyone have any
clues of what to do? Thanks beforehand.
and just like the appointment end time Im showing how many hours there
is from the starttime (xx:xx (x hours)). Now that someone want to
select some of those values both the time and the text come up, and I
dont want that, so I thought that I could use
Item_PropertyChange(ByVal Name) and when the name is "End", take the
whole string, erase everything past the 5 first chars, and then let
this be the time. This doesn't work though, the event never execute
because the string isnt a vaild timevalue, so it only works if I
select something like 15:00. I then tried with another method, now
trying to fire an unbound propertychange event. This would have worked
well if my combobox didnt were of the type DropDownCombo, so I changed
the type to DropDownList. Of course this triggers a whole bunch of
new errors, so this option seems to be out of hand. Anyone have any
clues of what to do? Thanks beforehand.