AnsweredAssumed Answered

vrf Setting UserFunction Panel Size

Question asked by VRFuser on Aug 7, 2005
Hello Simon

For this purpose we use a variable "RunMode" and replace regular "showPanel"
calls with call to our "DisplayPanel" function which locks the panel (or
not) according to the var RunMode.  The only problem is that this wikll not
work with User Objects.

Regards

Andrew Fudge
Wales, UK


----- Original Message -----
From: "Simon Parfitt" <Simon.Parfitt@renesas.com>
To: "VRF" <vrf@agilent.com>
Sent: Wednesday, August 03, 2005 12:10 PM
Subject: RE: [vrf] Setting UserFunction Panel Size


Just  a extra gripe!!  I good feature would be a globle lock panel. I oftern
work with my panels unlocked during bebug and then have to lock 100,s of
them!


Simon


-----Original Message-----
From: Findley, Robin [mailto:rfindley@harris.com]
Sent: 02 August 2005 22:34
To: VRF
Subject: RE: [vrf] Setting UserFunction Panel Size


I've been doing a lot of work with panel sizing lately.  Here's what I've
learned:

While resizing a userfunction in design view, it's current size is displayed
in the status bar as you drag the mouse around.

Unfortunately, this is only the size of the design-mode panel.  The runtime
panel is smaller. Design-mode border is 4px thick, runtime panel is 2px
thick. Design-mode titlebar is 19px high, runtime titlebar is 18px tall.

So, want a runtime panel of (100,100)px, you need to set the design-mode
window to (108,127).

Also, the size of a runtime panel is the same whether or not you have
borders and title bar, but your useable "client" area shrinks to accommodate
them. For example, if you create a design-mode window that is (108,127)px,
and the runtime panel has border and titlebar turned on, your actual client
area will be (96,78)px.

As a side note, here's something that may be of interest... When I am
designing an interfaces, I use a function I built that helps me set the
position of my panels. See attached sample.  You can drag the window to the
proper location, and the "PlacePanel" function in the top corner tells you
the coordinates. Also, you can use the U/D/L/R positioning buttons if your
panel is not "moveable".  Clicking on the 100/10/1 cyclic button lets you
change the increment of the movement buttons.

-Robin


-----Original Message-----
From: Michael Watts [mailto:Mike@PreciselySo.Co.UK]
Sent: Tuesday, August 02, 2005 6:07 AM
To: VRF
Subject: [vrf] Setting UserFunction Panel Size


Here's a challenge for those of you with nothing better to do

Try setting the panel size of a UserFunction ( in development mode )
precisely i.e. to the pixel size you want.  Hint - try setting it with
the mouse and then try again to confirm the setting.

Okay, so it may be a case of editing the text file but (a) what size do
you set ( I think the borders and title bar come in somewhere ) and (b)
where do you find the entry?

Any ideas anyone?

Thanks,

Mike Watts

_______________________________________________________________________

   Michael Watts, Consultant                                 PO Box 92
   on the web: www.PreciselySo.Co.UK                      Exeter,Devon
   e-mail: MJWC@PreciselySo.Co.UK                              England
   tel: +44 7714 339 729                                       EX4 2YY
_______________________________________________________________________

---
You are currently subscribed to vrf as: rfindley@harris.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: simon.parfitt@renesas.com To
subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: AndrewF@genesysibs.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes