Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in casting a percentage
Message
From
20/05/2008 15:01:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Problem in casting a percentage
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01318597
Message ID:
01318597
Views:
44
In my class, I have a condition to decide if I should put 350 or 50% as the textbox width. If I do it from the aspx page, I can enter it there. But, when doing it from the class, I have access to the Width property but this would expect that I pass a numeric. How can I pass a percentage in there? This is a textbox control but used in multiline. So, depending on the setting, I need to switch to fix mode or in percentage.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform