Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9019 > unrolled thread
| Started by | Martin <Martin@spam.spam> |
|---|---|
| First post | 2016-02-22 11:01 +0000 |
| Last post | 2016-02-23 09:11 +0000 |
| Articles | 8 — 5 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Windows dialog technique question Martin <Martin@spam.spam> - 2016-02-22 11:01 +0000
Re: Windows dialog technique question "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-22 14:07 +0100
Re: Windows dialog technique question Martin <Martin@spam.spam> - 2016-02-23 09:07 +0000
Re: Windows dialog technique question "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-23 10:56 +0100
Re: Windows dialog technique question Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-02-22 05:32 -0800
Re: Windows dialog technique question "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2016-02-22 16:50 +0100
Re: Windows dialog technique question Joachim Bieler <support@votools.com> - 2016-02-23 07:49 +0100
Re: Windows dialog technique question Martin <Martin@spam.spam> - 2016-02-23 09:11 +0000
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2016-02-22 11:01 +0000 |
| Subject | Windows dialog technique question |
| Message-ID | <naepk7$j9u$1@dont-email.me> |
Hello I need to develope a tab page with repeated information on it. I will have a few fields, a push button, a bbrowser and a group box repeated 12 times. So of course I only want to write the fields once and position them on the screen as 12 instances of the same class. So how do I group the fields ect together and put them on as a number of classes rather than repeat 12 times? Pretty sure there is something in the editor to do it, just I have not had a reason to do this before. Thanks Martin
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2016-02-22 14:07 +0100 |
| Message-ID | <dj0ffrFppieU1@mid.individual.net> |
| In reply to | #9019 |
Hi Martin, > I will have a few fields, a push button, a bbrowser and a group box > repeated 12 times. > > So of course I only want to write the fields once and position them > on the screen as 12 instances of the same class. > > So how do I group the fields ect together and put them on as a number > of classes rather than repeat 12 times? > > Pretty sure there is something in the editor to do it, just I have > not had a reason to do this before. select all controls you need to duplicate, Strg + C to copy them to the clipboard, Strg + V to paste them again to your window. Of course you can paste repeated times, but better place the copy first in the right place. After the entire copy process, you need to adjust the control names and the tab order. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2016-02-23 09:07 +0000 |
| Message-ID | <nah7ai$rmd$1@dont-email.me> |
| In reply to | #9020 |
Hi That is what I amtrying to avoid! Martin On 22/02/2016 13:07, Wolfgang Riedmann wrote: > Hi Martin, > >> I will have a few fields, a push button, a bbrowser and a group box >> repeated 12 times. >> >> So of course I only want to write the fields once and position them >> on the screen as 12 instances of the same class. >> >> So how do I group the fields ect together and put them on as a number >> of classes rather than repeat 12 times? >> >> Pretty sure there is something in the editor to do it, just I have >> not had a reason to do this before. > > select all controls you need to duplicate, Strg + C to copy them to the > clipboard, Strg + V to paste them again to your window. > > Of course you can paste repeated times, but better place the copy first > in the right place. > > After the entire copy process, you need to adjust the control names and > the tab order. > > Wolfgang >
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2016-02-23 10:56 +0100 |
| Message-ID | <dj2olpFd5k2U1@mid.individual.net> |
| In reply to | #9024 |
Hi Martin, > That is what I amtrying to avoid! then the only possibility you have is to construct the controls manually. And every control on a windows needs to have its unique name. Wolfgang > > Martin > > On 22/02/2016 13:07, Wolfgang Riedmann wrote: > > Hi Martin, > > > > > I will have a few fields, a push button, a bbrowser and a group > > > box repeated 12 times. > > > > > > So of course I only want to write the fields once and position > > > them on the screen as 12 instances of the same class. > > > > > > So how do I group the fields ect together and put them on as a > > > number of classes rather than repeat 12 times? > > > > > > Pretty sure there is something in the editor to do it, just I have > > > not had a reason to do this before. > > > > select all controls you need to duplicate, Strg + C to copy them to > > the clipboard, Strg + V to paste them again to your window. > > > > Of course you can paste repeated times, but better place the copy > > first in the right place. > > > > After the entire copy process, you need to adjust the control names > > and the tab order. > > > > Wolfgang > > --
[toc] | [prev] | [next] | [standalone]
| From | Otto Christiaanse <ofchristiaanse@gmail.com> |
|---|---|
| Date | 2016-02-22 05:32 -0800 |
| Message-ID | <00aaedef-98b7-406c-81a2-ce89accd4eac@googlegroups.com> |
| In reply to | #9019 |
use a subwindow? insert the controles programmatically?
[toc] | [prev] | [next] | [standalone]
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Date | 2016-02-22 16:50 +0100 |
| Message-ID | <nafahm$is7$1@dont-email.me> |
| In reply to | #9021 |
I would use the method of Wolfgang. Subwindows often disturb. I have also some windows with many controls. Afterwards it is important to make methods to access the controls by index and not by name. It is only important to do as less as possible in the windows editor and as much as possible in the own code, adjusting all settings of the controls in loops using the indexaccess methods. Arne Ortlinghaus "Otto Christiaanse" <ofchristiaanse@gmail.com> schrieb im Newsbeitrag news:00aaedef-98b7-406c-81a2-ce89accd4eac@googlegroups.com... > use a subwindow? > insert the controles programmatically?
[toc] | [prev] | [next] | [standalone]
| From | Joachim Bieler <support@votools.com> |
|---|---|
| Date | 2016-02-23 07:49 +0100 |
| Message-ID | <dj2dn8Fag5aU1@mid.individual.net> |
| In reply to | #9019 |
Hi Martin, I think that the bComponent classes (http://www.votools.com/english/tools/bcomponent.htm) could do a good job for your problem. Unfortunately this is a german class library but it comes with two samples. Regards, Joachim Bieler Am 22.02.2016 um 12:01 schrieb Martin: > Hello > > I need to develope a tab page with repeated information on it. > > I will have a few fields, a push button, a bbrowser and a group box repeated 12 times. > > So of course I only want to write the fields once and position them on the screen as 12 instances > of the same class. > > So how do I group the fields ect together and put them on as a number of classes rather than > repeat 12 times? > > Pretty sure there is something in the editor to do it, just I have not had a reason to do this > before. > > Thanks > > Martin
[toc] | [prev] | [next] | [standalone]
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2016-02-23 09:11 +0000 |
| Message-ID | <nah7i9$sj5$1@dont-email.me> |
| In reply to | #9023 |
Hi Joachim I will check this over Thanks Martin On 23/02/2016 06:49, Joachim Bieler wrote: > Hi Martin, > > I think that the bComponent classes > (http://www.votools.com/english/tools/bcomponent.htm) could do a good > job for your problem. Unfortunately this is a german class library but > it comes with two samples. > > Regards, > Joachim Bieler > > > Am 22.02.2016 um 12:01 schrieb Martin: >> Hello >> >> I need to develope a tab page with repeated information on it. >> >> I will have a few fields, a push button, a bbrowser and a group box >> repeated 12 times. >> >> So of course I only want to write the fields once and position them on >> the screen as 12 instances of the same class. >> >> So how do I group the fields ect together and put them on as a number >> of classes rather than repeat 12 times? >> >> Pretty sure there is something in the editor to do it, just I have not >> had a reason to do this before. >> >> Thanks >> >> Martin >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web