How to confine rectangle to a Web object - Forum

Forum Navigation
You need to log in to create posts and topics.

How to confine rectangle to a Web object

What's the best way to keep the pre-defined neoEdge rectangle objects confined to a Web Object?  I'm trying to manage using object manipulation..  I'm using _SizeObject and _MoveObject " on initial creation and resizing but there might be a cleaner/easier way..

Can we assign it to a Web object or something?

@darbdenral as all VisualNEO Web objects are inside a neoEdge Rectangle object there is not an easy way to confine a rectangle to a web object. Anyway note that,  once compiled, the application window will take the correct size as defined in size properties. if your app is not responsive it makes very easy to position objects.

When developing your app you can use...

AppPosition "top" "left"

...to avoid the application be centered on screen by default.

Regards.

 

@luishp I see Ok.. I'll use that action too..  But for some reason neoEdge always starts maximized here.  So, I found the Read-Write variable in VisualNeo for the windowstate and used it with success in Startup.. SetVar "{{WindowState}}" "Normal"

I've also been looking to disable the maximize button but haven't found a way..

thanks for your help..

@darbdenral

But for some reason neoEdge always starts maximized here.

It only starts maximixed on design time. When you compile your application it will take the size defined for your app.
neoEdge.exe detects automatically if it's called from VisualNEO Web or as a compiled stand alone application. It also disables right-click mouse button and F12 (Console) key when running as a stand alone app.

Regards.

Darbdenral has reacted to this post.
Darbdenral