Jump to content

FP.Origin


m3nth

Recommended Posts

I wonder if it's got anything to do with the ability to have sub panels and pane separators?

AFAIK, the Front Panel in 8 is no longer a single pane. With splitter bars (pane separators), there are possibly multiple panes with multiple origins. The front panel origin would then be the first pane origin (for a single pane application). It would be nice to have a FP.Origin property that just grabs the first pane's origin. ;)

On a side note, the top-left pane becomes the main pane, in that controls created from the block diagram show up here. :headbang: Took me a while to handle that one. I had a "Status Bar" at the top and I eventually had to get rid of the separator and put it in only at the very end to avoid controls showing up where I didn't expect them.

David

Link to comment

It seems that the FP.Origin property still works in 8.0, but it is deprecated. If you bring the function in from 7.1 you will get the Origin of the top-left pane on the panel. Appears to me this is a reasonable behavior, and there is no need to deprecate it.

Link to comment
It seems that the FP.Origin property still works in 8.0, but it is deprecated. If you bring the function in from 7.1 you will get the Origin of the top-left pane on the panel. Appears to me this is a reasonable behavior, and there is no need to deprecate it.

i finally made it down the property node tree to be able to set the front panel origin. what a pane(!) :thumbdown: i used to just drop fp.origin and set it to zero so my fp would reset every time but now i'll have to have a vi handy or a vi with a set of code to merge off the palette. i agree with previous suggestions: they should have left it with an updated description and consigned it simply to pane[0] origin.

actually, i expected this to be a settable property in the vi's property list since the window size is now a settable item. that is really convenient. but then if i scrolled around the FP, it would resize with my new origin and i couldn't see anything. doh! i'm sure they left this out because there is now an entire pane[] array to deal with, but it would still be really handy for single pane vi's.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.