Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?


Text Box Height & Border Around Label


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008, 04:27 AM
Junior Member
 
Join Date: May 2008
Posts: 34
Default Text Box Height & Border Around Label

Hi

1. Is it possible that I can set my own height of my text boxes and not let Basic4ppc set the height according to the font size that I have selected.

2. It would be nice to be able to have the label box have a border around.

Thanks
Michael
(ceaser)
Civil Engineering And Surveying Earthworks Routines
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 05:37 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,572
Default

1. This is the underlying OS control behavior. If Multiline is set to true it is possible to change the height.
2. You can draw the border. Something like:
Code:
Sub App_Start
    Form1.Show
    DrawBorder("Label1",cBlack)
End Sub

Sub DrawBorder(label,color)
    x = Control(label).Left-1
    y = Control(label).Top-1
    form1.Line(x,y,x + Control(label).Width+2,y + Control(label).Height + 2,color,b)
End Sub
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 08:02 AM
Junior Member
 
Join Date: May 2008
Posts: 34
Default

Thanks

Sorry about these questions. Having programmed in NSBasic for 3 years and only 2 weeks with Basic4ppc, I am still trying to find my feet!

Michael
Reply With Quote
  #4 (permalink)  
Old 05-14-2008, 08:07 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,572
Default

No problem. Please feel free to ask any question!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Label/Text Control text centering TWELVE Basic4ppc Wishlist 1 06-04-2008 03:20 PM
Button Control text label word wrap TWELVE Basic4ppc Wishlist 0 06-04-2008 05:55 AM
Turning text box/label upside down stbi Questions & Help Needed 1 04-16-2008 03:26 PM
Problem with VGA form.Height willisgt Questions & Help Needed 2 03-01-2008 06:57 AM
Form.Height in Fullscreen berndgoedecke Questions & Help Needed 2 01-24-2008 07:10 PM


All times are GMT. The time now is 03:56 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0