Dialog without defining an RPG binding

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
grmarks
Profound User
Posts: 30
Joined: Thu Apr 29, 2010 9:32 pm
First Name: Glenn
Last Name: Marks
Company Name: Pacific Brands
Country: Australia
Contact:

Dialog without defining an RPG binding

Post by grmarks »

I can drag and drop a dialog panel onto another panel and use java script to make it visible on a mouseover event of another widget but I can't add fields to it. Is there a simple way ?
The idea is to increase screen realestate by having various bits of the screen appear on a mouseover event. This would be ideal in a subfile record as well.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Dialog without defining an RPG binding

Post by David »

Unfortunatley, the panels and widgets are not "true" containers as of yet -- meaning that hiding them will not hide fields that are "inside" of them. However, there are some ways that you can do what you are describing without too much trouble.

I would recommend using the "id" property (this is the actual DOM id) to name all the fields in a section the same with a numeric suffix. As in custFields1, custFields2, custFields3, etc. You might then give the panel the id 'custFields'. On mouse over of the panel, you can grab its id and then a simple loop can be used to find the rest of the fields and hide them by incrementing a counter and checking the DOM until no more fields are found.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests