Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Format problem
Message
 
To
07/12/2001 21:23:07
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00590977
Message ID:
00592590
Views:
22
MakeLength is working correctly. Isn't it just a font problem ? Use a fixed font instead.

For the bound combo, use the "Microsoft Databound list controls 6.0".


>Hi, thank for the advise, below is my MakeLength function code. Please kindly
>help to pinpoint my problem
>
>Public Function MakeLength(pvString As String, pvLength As Integer) As String
>
> Dim lLength As Integer
> Dim lNo As Integer
> Dim lStr As String
>
> lStr = Trim(pvString)
> lLength = Len(lStr)
>
> If pvLength <= lLength Then
> MakeLength = pvString
> Exit Function
> End If
>
> lLength = pvLength - lLength
> MakeLength = lStr
> For lNo = 1 To lLength
> MakeLength = MakeLength & " "
> Next
>
>End Function
>
>
>Finally, just like to know can I programmatically use ADO to bound to a combo
>box ?
>
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform