home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
custctrl
/
mhtag.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1992-07-01
|
4KB
|
100 lines
MhTag
MhTag Example
Form1
Label1
MicroHelp's MhTagBox functions exactly like a VB list box, except that you can tag multiple items, and there are additional features.
Frame1
&Design Time Options Box 0
SelectOption
Single Select
HorizScroll
Horiz Scrollbars
SelectOption
Multi Select
MultiColumn
MultiColumn
SelectOption
Extended (contiguous only)
Frame2
&Other Options
ScreenUpdate
Screen Update
Sorted
Sorted
Frame4
Box 0
MhTagBox1
MhTagBox
Frame3
Act On Selected Items
DeleteButton
Delete
FillButton
MoveButton
Copy to 1 -->
Frame4
Box 1
MhTagBox1
MhTagBox
Frame3
Act On Selected Items
DeleteButton
Delete
FillButton
MoveButton
<-- Copy to 0
MenuFile
&File
MenuExit
E&xit
FALSE
Initializing
MenuExit_Click
MhTag
Form_Load
MhTagBox1
Sorted
ScreenUpdateW
ExtendedSelect
SelectOption
Value
SingleSelect
HorizScroll
MultiColumn
FillBox
DeleteButton_Click
Index
Tagged
ListCount
FillButton_Click
MoveButton_Click
Destination
ScreenUpdate_Click
Sorted_Click
ClearBox0
MenuExit_Click
Form_Load
Make sure boxes have same properties seta
If .ExtendedSelect is true, check it
Otherwise, go according to .SingleSelecta
Add some data
DeleteButton_Click
FillBox
David"
Buzzy"
Clarke
Vanna"
This is a long entry to force a horizontal scrollbar
Michael"
Nevet"
FillButton_Click
MoveButton_Click
ScreenUpdate_Click
Sorted_Click
The sorted property "takes" only when you .AddItem.
So we'll clear the box, change the property and
then fill it again
Avoid flicker
Clear the box
Restore your choice