Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?

Move menus from form to form

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-26-2010, 04:58 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default Move menus from form to form

I'm working on a derivative of GPS4PPS. The original uses similar controls on several forms, so it has a form that is never itself displayed but provides a repertoire of controls that are copied (moved, by ChangeParent(), really) to other forms in the latter's Show method.

I would like to use a similar mechanism to "copy" a template menu to multiple forms. Having tried it I get a run-time error that implies that menus are not "controls" that can have their parents changed.

I would therefore like a version of ChangeParent() that would work with menus.

Mike.
Reply With Quote
  #2 (permalink)  
Old 10-03-2010, 03:56 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by mjcoon View Post
I would therefore like a version of ChangeParent() that would work with menus.
I still think that would be a Good Idea. But I have found that I can get the effect I wanted using Andrew Graham's MainMenu.dll library.

Mike.
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
small form size without titles and menus Byak@ Code Samples & Tips 9 06-25-2011 06:36 PM
Device IDE Form Designer : Controls can move off screen. pdablue Bug Reports 1 06-09-2009 08:22 AM
move a panel from one form to another pochero Questions (Windows Mobile) 7 02-14-2009 10:27 PM
Form ok vs X colink Questions (Windows Mobile) 2 03-16-2008 01:50 PM
MouseDown/Move/Up either in all Controls or not hiding from Form Woinowski Basic4ppc Wishlist 3 11-05-2007 11:36 AM


All times are GMT. The time now is 02:20 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0