Click to See Complete Forum and Search --> : Getting the Insert point to the right side...
Joe Bob
Nov 9th, 1999, 04:18 AM
How do I get the INSERTION POINT the the right side of a text?
Also.. How do I add strings into a combo box thats style=drop down?
Do I need Microsoft Access to do this?
barrie
Nov 9th, 1999, 04:42 AM
Question #1:
Private Sub Text1_GotFocus()
Text1.SelStart = Text1.SelLength
End Sub
As for Question #2, I am at work (where I have VBA, which treats combo boxes and list boxes differently than VB) but I think you can use the additem method:
Combo1.AddItem "My New String"
Joe Bob
Nov 9th, 1999, 05:09 AM
Yes you can use additem, but I ment was to save the combo, do I need to get Access to save the combo's data?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.