At 12:17 PM 12/7/2015, DR. FRITZ LUETTGENS wrote:

The new collapsing panel is looking great !
But how do I get a caption and EEP on the expanded part of the panel ?
Looks like I only can get 1 EEP on collapsed and expanded panel.
(Just cannot see it ...)


Dr. Fritz,

You wouldn't expect anything less, would you?

Sample Applications: http://www.razzak.com/sampleapplications/

. Using Collapse Panels in R:BASE X Enterprise
. Designing and Deploying Mobile Apps - R:BASE X Enterprise

Both sample applications are based on Collapse Panel.

There are two components (EEPs) involved with the Collapse Panel:

. On Change EEP
. On Caption Click EEP

-- On Change EEP
-- Author: A. Razzak Memon
-- Date Created: December 1, 2015
-- Last Updated: December 2, 2015
   SET VAR vCollpased TEXT = NULL
   GETPROPERTY Customers COLLAPSED vCollapsed
IF vCollapsed = 'True' THEN
   PROPERTY Contacts VISIBLE 'TRUE'
   PROPERTY Contacts COLLAPSED 'TRUE'
ELSE
   PROPERTY Contacts VISIBLE 'FALSE'
   PROPERTY Sales COLLAPSED 'TRUE'
   PROPERTY Employees COLLAPSED 'TRUE'
ENDIF
   CLEAR VARIABLES vCollapsed
   RETURN

-- On Caption Click EEP
-- Author: A. Razzak Memon
-- Date Created: December 1, 2015
-- Last Updated: December 2, 2015
   SET VAR vCollpased TEXT = NULL
   GETPROPERTY Customers COLLAPSED vCollapsed
IF vCollapsed = 'True' THEN
   PROPERTY Customers COLLAPSED 'FALSE'
ELSE
   PROPERTY Customers COLLAPSED 'TRUE'
ENDIF
   CLEAR VARIABLES vCollapsed
   RETURN

Hoffe, das hilft!

Fühlen Sie sich frei, mich mit Fragen zu kontaktieren.

Mit freundlichen Grüßen,

Razzak


Reply via email to