Discussion forum about PANORAMIC language
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Discussion forum about PANORAMIC language

Mac, Windows & Android application development with PANORAMIC language
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  
Latest topics
» What happened with the panoramic language ?
by Wed Jan 03, 2024 4:09 pm

» Hello world.
by Wed May 09, 2018 11:53 pm

» Biomorphes de PICKOVER
by Sun Jun 18, 2017 2:33 am

» In less than 10 lines of code
by Fri Jun 16, 2017 5:03 am

» Effect Dopler
by Fri Jun 16, 2017 3:29 am

» SuperEllipse
by Wed Jun 14, 2017 4:01 am

» Plants
by Wed Jun 14, 2017 3:38 am

» Mira's attractor
by Wed Jun 14, 2017 3:30 am

» Triangle of Sierpinski
by Wed Jun 14, 2017 3:22 am

» Esthétique polaire
by Wed Jun 14, 2017 3:16 am

» Butterfly effect : Lorenz equations
by Wed Jun 14, 2017 3:08 am

» Collision detection
by Tue Jun 13, 2017 5:09 am

» The Bees Laline Paull Epub Books
by Mon Oct 10, 2016 8:58 pm

» PANORAMIC for Mac OSX 10 is available
by Tue Aug 09, 2016 6:08 pm

» ide
by Sat Jul 16, 2016 12:27 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

 

 Where do controls appear?

Go down 
2 posters
AuthorMessage
Fordi




Number of posts : 23
Registration date : 2010-07-12

Where do controls appear? Empty
PostSubject: Where do controls appear?   Where do controls appear? EmptyMon Jul 12, 2010 10:00 pm

Hello, to you all,

I found Panoramic today and I find the siplicity amazing. Now I'm testing a bit.
I have a question regarding forms and controls.
I wonder how I can control, in which open form my f.e. edit-controls will be printed. At the moment I have opended two form and would like to insert some edit-controls into the front form. But they appear on the background form. How can I control that?

Thank you for your help.

Kind regards, Fordi
Back to top Go down
Fordi




Number of posts : 23
Registration date : 2010-07-12

Where do controls appear? Empty
PostSubject: Re: Where do controls appear?   Where do controls appear? EmptyTue Jul 13, 2010 1:22 am

I found it out. Before you create the control, simply send them via COMMAND_TARGET_IS N to the form you like. Easy, istn't it... if you know... or if I read the documention correctly.

Kind regards, Fordi
Back to top Go down
Jack
Admin
Jack


Number of posts : 99
Registration date : 2007-07-01

Where do controls appear? Empty
PostSubject: Re: Where do controls appear?   Where do controls appear? EmptyTue Jul 13, 2010 8:05 am

Welcome to the "panoramician" familly, that is the familly of PANORAMIC users.
You found by yourself that the command to attach an object to a FORM is COMMAND_TARGET_IS N, N being the number of the FORM.

In fact you have two possibilities:
1 - use COMMAND_TARGET_IS to attach a new object (here a button), if you create your object after
Code:
form 1:left 1,100
command_target_is 1
button 2

2 - use PARENT is you want to transfer an object already created to a new FORM:
Code:
form 1:left 1,100
button 2: rem the button is created on FORM0
wait 2000:rem so you have 2 seconds to see it on FORM0
parent 2,1: rem now, you transfer #2 to the FORM #1

Happy to help you.
Back to top Go down
https://panoramic.forumotion.com
Sponsored content





Where do controls appear? Empty
PostSubject: Re: Where do controls appear?   Where do controls appear? Empty

Back to top Go down
 
Where do controls appear?
Back to top 
Page 1 of 1
 Similar topics
-
» Creation of controls and number_objects
» How to reopen forms with already created controls?
» Insert a button without renumbering all controls

Permissions in this forum:You cannot reply to topics in this forum
Discussion forum about PANORAMIC language :: Panoramic for Windows :: Help?-
Jump to: