Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8237 > unrolled thread

Window size at run time different than it is in IDE

Started byrobmit <robhmitchell@hotmail.com>
First post2015-06-24 10:04 -0700
Last post2015-06-25 08:00 -0700
Articles 7 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Window size at run time different than it is in IDE robmit <robhmitchell@hotmail.com> - 2015-06-24 10:04 -0700
    Re: Window size at run time different than it is in IDE "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-06-24 22:07 +0200
      Re: Window size at run time different than it is in IDE robmit <robhmitchell@hotmail.com> - 2015-06-24 14:03 -0700
        Re: Window size at run time different than it is in IDE "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-06-25 08:02 +0200
          Re: Window size at run time different than it is in IDE robmit <robhmitchell@hotmail.com> - 2015-06-25 07:55 -0700
    Re: Window size at run time different than it is in IDE Robert van der Hulst <robert@heliks.nl> - 2015-06-25 09:46 +0200
      Re: Window size at run time different than it is in IDE robmit <robhmitchell@hotmail.com> - 2015-06-25 08:00 -0700

#8237 — Window size at run time different than it is in IDE

Fromrobmit <robhmitchell@hotmail.com>
Date2015-06-24 10:04 -0700
SubjectWindow size at run time different than it is in IDE
Message-ID<7b8001e3-0172-4b92-8968-3527e4db9004@googlegroups.com>
When my windows are shown at run time they are shown using a different height and width than they had in the IDE.

Ex.
  If I create a window in the IDE with a width of 900 pixels and a height of 675 pixels, at run time the window is being displayed with a width of 917 pixels and a height of 715 pixels.

What do I need to do to get the window to display with the same height and width as in the IDE?

Thanks,

Rob

[toc] | [next] | [standalone]


#8238

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2015-06-24 22:07 +0200
Message-ID<cv0gvtF5h5dU1@mid.individual.net>
In reply to#8237
Hi Rob,

you can set "pixel positions" to yes. This will remove this automatism.

But beware: this is not a good choice because then your windows will
look very bad if someone uses larger or smaller fonts than you on your
development machine.

This is something that Vulcan when used with WPF will do better.

Wolfgang

> When my windows are shown at run time they are shown using a
> different height and width than they had in the IDE.
> 
> Ex.
>   If I create a window in the IDE with a width of 900 pixels and a
> height of 675 pixels, at run time the window is being displayed with
> a width of 917 pixels and a height of 715 pixels.
> 
> What do I need to do to get the window to display with the same
> height and width as in the IDE?
> 
> Thanks,
> 
> Rob



-- 

[toc] | [prev] | [next] | [standalone]


#8239

Fromrobmit <robhmitchell@hotmail.com>
Date2015-06-24 14:03 -0700
Message-ID<db7d6f62-c908-48d5-9a1c-fa451147d568@googlegroups.com>
In reply to#8238
Hi Wolfgang,

I've tried setting "pixel positions" to yes and it seems to have no effect at all.

Any other ideas?

Rob

[toc] | [prev] | [next] | [standalone]


#8240

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2015-06-25 08:02 +0200
Message-ID<cv1js4Fda7gU1@mid.individual.net>
In reply to#8239
Hi Rob,

> I've tried setting "pixel positions" to yes and it seems to have no
> effect at all.

are you working with large fonts on your development machine? Normally,
this is a bad idea....

Wolfgang

-- 

[toc] | [prev] | [next] | [standalone]


#8243

Fromrobmit <robhmitchell@hotmail.com>
Date2015-06-25 07:55 -0700
Message-ID<3d00d054-28db-45e8-ac29-7da9dc6e93a0@googlegroups.com>
In reply to#8240
No, the opposite actually.  I'm working with "Smaller - 100%" on my Windows 8.1 dev machine and "Medium - 125%" on my test machine.  I know that this is what's causing the problem but I'm looking for a way around it (other than telling my users to use "Smaller - 100%" on their machines too).

Rob

[toc] | [prev] | [next] | [standalone]


#8241

FromRobert van der Hulst <robert@heliks.nl>
Date2015-06-25 09:46 +0200
Message-ID<558BB1E5.4080105@heliks.nl>
In reply to#8237
Rob,

Dialogwindow or DataWindow ?
A Dialogwindow should have the same size.
A Datawindow in the designer does not show the window caption and 
borders. The size of the Datawindow in the designer is the size of the 
surface of the datawindow at runtime. Therefore at runtime the size of a 
datawindow is bigger.

Robert

> When my windows are shown at run time they are shown using a different height and width than they had in the IDE.
>
> Ex.
>    If I create a window in the IDE with a width of 900 pixels and a height of 675 pixels, at run time the window is being displayed with a width of 917 pixels and a height of 715 pixels.
>
> What do I need to do to get the window to display with the same height and width as in the IDE?
>
> Thanks,
>
> Rob
> .
>


-- 
Robert van der Hulst
robert@heliks.nl

[toc] | [prev] | [next] | [standalone]


#8244

Fromrobmit <robhmitchell@hotmail.com>
Date2015-06-25 08:00 -0700
Message-ID<0545ddbd-e668-453b-982f-e4624c0579ea@googlegroups.com>
In reply to#8241
Oops, I should have realized that.  I was trying to track down a problem (see my response to Wolfgang) and when I noticed the difference in size, even on my machine, I completely forgot about the whole canvas/surface thing.

Thanks,

Rob

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web