Hey,
I have this code, and I want to make the word 'none' from the list visible
by default and then the user can choose something else if they want. I have
looked through the docs and have tried FirstVisibleItem but no luck. Any
help appreciated!
Chris
$bftextdecdd=$Win1->AddCombobox(
-name=>"bftextdecdd",
-width=>100,
-height=>100,
-tabstop=>1,
-top=>242,
-left=>370,
-style=> WS_VISIBLE | WS_SCROLL | 3
);
$bftextdecdd->InsertItem("none");
$bftextdecdd->InsertItem("blink");
$bftextdecdd->InsertItem("line-through");
$bftextdecdd->InsertItem("underline");
$bftextdecdd->InsertItem("overline");
#$bftextdecdd->FirstVisibleItem(); how the hell do I show 'none' as
#first visible by default?
sub bftextdecdd_Change{
$bftextdecdd->Text($bftextdecdd->GetString($bftextdecdd->SelectedItem));
}