Basic4ppc - Windows Mobile Development  

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

Questions & Help Needed Post any question regarding Basic4ppc.


Removing controls from a form


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-17-2007, 01:48 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default Removing controls from a form

So I design a form1 with a Timer, a textbox and a couple of buttons

Then I want to remove, say one of the buttons, how do I do it.

I know theres an option for deleting the whole form, but when I highlight one of the controls I dont seem to be able to remove it?
Reply With Quote
  #2 (permalink)  
Old 11-17-2007, 01:59 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

Using the designer you can right click and choose Delete Control.
On the device choose Tools - Delete Control.
Reply With Quote
  #3 (permalink)  
Old 11-17-2007, 06:02 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks - I dont know why I didnt notice that - Im getting so dumb in my old age. Cheers for pointing that out

One more question, are Textboxes for displaying info AND inputing info?
For example if I want to get someones name is the Textbox the best control to use?
And if I want to print out a value say, is a Textbox the best control to use?

Last time I did any basic programming it was INPUT A$, PRINT A$ on the ZX81 !! - wondered if Textboxes are the equivalent of both??

Last edited by colin9876 : 11-17-2007 at 06:08 PM.
Reply With Quote
  #4 (permalink)  
Old 11-17-2007, 06:48 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

Yes, you should use a textbox to get an input from the user, and you could also use it to show some information.
You could also use Labels to show text.
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
Form Forelayer on top of other controls ? klaus Questions & Help Needed 2 08-01-2008 03:32 PM
COM controls lairdre Questions & Help Needed 3 02-28-2008 09:53 AM
Removing controls in runtime Stanl3yCZ Questions & Help Needed 1 02-18-2008 03:51 PM
MouseDown/Move/Up either in all Controls or not hiding from Form Woinowski Basic4ppc Wishlist 3 11-05-2007 12:36 PM
Copy controls in another form in the designer magi6162 Questions & Help Needed 2 09-03-2007 04:51 PM


All times are GMT. The time now is 06:58 PM.


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