|
-
Feb 4th, 2014, 03:52 AM
#2
Re: Textbox RightToLeft problem in vb6
some properties have to be set in the design, can not be changed at runtime
right to left only works on windows systems that have the correct languages installed
from msdn
Returns a boolean value that indicates the text display direction and controls the visual appearance on a bidirectional system.
Syntax
object.RightToLeft
The RightToLeft property syntax has this part:
Part Description
object Anobject expression that evaluates to an object in the Applies To list.
Settings
The possible boolean return values from the RightToLeft property are:
Setting Description
True The control is running on a bi-directional platform, such as Arabic Windows95 or Hebrew Windows95, and text is running from right to left. The control should modify its behavior, such as putting vertical scroll bars at the left side of a text or list box, putting labels to the right of text boxes, etc.
False The control should act as though it was running on a non-bidirectional platform, such as English Windows95, and text is running from left to right. If the container does not implement this ambient property, this will be the default value.
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|