Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #2559 > unrolled thread
| Started by | Martin <spam@spam.spam> |
|---|---|
| First post | 2011-12-05 15:56 +0000 |
| Last post | 2011-12-06 09:16 -0600 |
| Articles | 8 — 5 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
How do I (types of windows)? Basic question Martin <spam@spam.spam> - 2011-12-05 15:56 +0000
Re: How do I (types of windows)? Basic question Martin <spam@spam.spam> - 2011-12-05 16:15 +0000
Re: How do I (types of windows)? Basic question Massimo Bighelli <info@arcasistemi.it> - 2011-12-05 19:54 +0100
Re: How do I (types of windows)? Basic question "Willie Moore" <williem@wmconsulting.com> - 2011-12-05 13:14 -0600
Re: How do I (types of windows)? Basic question Carlos Rocha <carlos.rocha@doossier.com.removethis> - 2011-12-05 20:40 +0000
Re: How do I (types of windows)? Basic question Martin <spam@spam.spam> - 2011-12-06 15:04 +0000
Re: How do I (types of windows)? Basic question D.J.W. van Kooten <public@ic2remove.this.com> - 2011-12-08 11:30 +0100
Re: How do I (types of windows)? Basic question "Willie Moore" <williem@wmconsulting.com> - 2011-12-06 09:16 -0600
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2011-12-05 15:56 +0000 |
| Subject | How do I (types of windows)? Basic question |
| Message-ID | <qQ5Dq.57721$R36.40989@newsfe10.ams2> |
Hello I want to create a small application of the following. One screen which has 5 buttons on it, and a bitmap. Button one provides a pop up you can select from. As soon as program is started the main screen appears, X to exit, the first button provides another dialog to select. SDI does not allow the popup. So what classes should all my windows be please? Thanks Martin
[toc] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2011-12-05 16:15 +0000 |
| Message-ID | <s66Dq.123337$4a.13208@newsfe04.ams2> |
| In reply to | #2559 |
DataWindow on the base class of AppWindow, popup is DataDialog First time with no menu in VO!!!! On 05/12/2011 15:56, Martin wrote: > Hello > > I want to create a small application of the following. > > One screen which has 5 buttons on it, and a bitmap. > > Button one provides a pop up you can select from. > > As soon as program is started the main screen appears, X to exit, the > first button provides another dialog to select. > > SDI does not allow the popup. > > So what classes should all my windows be please? > > Thanks > > Martin
[toc] | [prev] | [next] | [standalone]
| From | Massimo Bighelli <info@arcasistemi.it> |
|---|---|
| Date | 2011-12-05 19:54 +0100 |
| Message-ID | <jbj40r$fus$2@speranza.aioe.org> |
| In reply to | #2561 |
I should not use datawindow and absolutely not use datadialog Try with pure dialogs my2c Massimo Il 05/12/2011 17:15, Martin ha scritto: > DataWindow on the base class of AppWindow, popup is DataDialog > > First time with no menu in VO!!!! > > On 05/12/2011 15:56, Martin wrote: >> Hello >> >> I want to create a small application of the following. >> >> One screen which has 5 buttons on it, and a bitmap. >> >> Button one provides a pop up you can select from. >> >> As soon as program is started the main screen appears, X to exit, the >> first button provides another dialog to select. >> >> SDI does not allow the popup. >> >> So what classes should all my windows be please? >> >> Thanks >> >> Martin >
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-12-05 13:14 -0600 |
| Message-ID | <jbj56p$j9m$1@speranza.aioe.org> |
| In reply to | #2566 |
Massimo, That is what I use 99% of the time. I subclassed the dialog window and added in my validation code so I can catch things the way I wanted to. Regards, Willie Vulcan VIP "Massimo Bighelli" wrote in message news:jbj40r$fus$2@speranza.aioe.org... I should not use datawindow and absolutely not use datadialog Try with pure dialogs my2c Massimo Il 05/12/2011 17:15, Martin ha scritto: > DataWindow on the base class of AppWindow, popup is DataDialog > > First time with no menu in VO!!!! > > On 05/12/2011 15:56, Martin wrote: >> Hello >> >> I want to create a small application of the following. >> >> One screen which has 5 buttons on it, and a bitmap. >> >> Button one provides a pop up you can select from. >> >> As soon as program is started the main screen appears, X to exit, the >> first button provides another dialog to select. >> >> SDI does not allow the popup. >> >> So what classes should all my windows be please? >> >> Thanks >> >> Martin >
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <carlos.rocha@doossier.com.removethis> |
|---|---|
| Date | 2011-12-05 20:40 +0000 |
| Message-ID | <jbja9v$196$1@speranza.aioe.org> |
| In reply to | #2561 |
Martin, My top window is a clean TopAppWindow where I put controls to navigate. I use Codejock ActiveX controls, but I guess any control should work -- Carlos Rocha --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 111205-0, 05-12-2011 Tested on: 05-12-2011 20:40:59 avast! - copyright (c) 1988-2011 AVAST Software. http://www.avast.com
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2011-12-06 15:04 +0000 |
| Message-ID | <faqDq.102304$CC2.43489@newsfe20.ams2> |
| In reply to | #2568 |
All was OK once I realised I had messed a class up. Currently going through cutting and pasting in code from our main app to allow this to work. 5 large buttons 1 pop up to select rest is bitmap display And it scales to match the screen resolution On 05/12/2011 20:40, Carlos Rocha wrote: > Martin, > > My top window is a clean TopAppWindow where I put controls to navigate. > I use Codejock ActiveX controls, but I guess any control should work >
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <public@ic2remove.this.com> |
|---|---|
| Date | 2011-12-08 11:30 +0100 |
| Message-ID | <ps31e7lh401aprg3qu3rh5ktkaac28978t@4ax.com> |
| In reply to | #2573 |
On Tue, 06 Dec 2011 15:04:43 +0000, Martin <spam@spam.spam> wrote: Hello Martin, >And it scales to match the screen resolution In the control properties window, select owner alignment. Not all alignments are defined, but you can add the missing defines like this: DEFINE OA_WIDTH_PHEIGHT_py := OA_WIDTH | OA_PHEIGHT | OA_PY A P means that the position (in this define only y: py) and size of the controls should change proportionally (in this sample only the height) when the size of the window changes. Without the P it changes lineary and in this case the X position does not change at all. You can even define the amount of change in a kind of fraction, e.g.: oDCMLE1:OwnerAlignment := PTR(_CAST, 0x12130000 means Height 1/2 and Width 1/3 with Y X not changing. You will need to experiment a lot. For example, I recently had a problem that one of my controls ran into another one on a HD resolution screen. I have the same HD resolution, even smaller fonts, but on my screen the control never ran into the other control on full size. Without understanding what exactly made the difference I did solve it by using a 7/8 proportial width change. It leaves a small unused space on my system but the control did not ran into the clients' other control anymore! See Control:owner alignment in the help Hope this helps. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-12-06 09:16 -0600 |
| Message-ID | <jblbkp$b58$1@speranza.aioe.org> |
| In reply to | #2568 |
Carlos, I like the codejocks controls. Regards, Willie Vulcan VIP
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web