Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Borderless textbox for Pocket PC VB .NET app? 1

Status
Not open for further replies.

EwS

Programmer
Dec 30, 2002
398
US
I'm developing a Pocket PC application in VB .NET. It doesn't seem that you can have a borderless textbox or change the background color of the command button. Am I missing something? - Thanks.
 
You can't even change the height of a textbox???
 
as for the second you use the multiline property

Code:
TextBox.Multiline = true

then you can change height

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Im sorry i didnt notice the question about the button the first time i read this thread. If you haven solved it already:

Code:
button.backcolor = System.Drawing.Color.YourColorOfChoice

Do you know you can get all of the commands by pressing ctrl+space?
meaning... if you write button. and press ctrl+space you get all the events and propertys avalible for button

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Thanks a lot for your help!
I didn't know about Ctrl+Space...
For some reason, setting the BackColor doesn't work (using other properties of the button, such as .Text, works though). That's weird...

I couldn't find any property that would make a textbox borderless - is there a way to do this?
 
Actually, setting the Multiline property to True for a text box in order to change its height is not a good idea because when I type and press Enter, the cursor moves to the "next line". But, you can set .Height programmatically (for some reason it works although you cannot change it in the Properties window - I get "Invalid property value").
 
Thats one thing Ive noticed about developing for the PPC. Some things are missing in the properties window, for example is the ListView.View property also missing in the properties window but availble by code.

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top