Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi There,
Is there any way to have an object (specifically a straight table for now) showing a different Window Title when it is minimized?
I often include counts in my titles, and I've managed to have different titles and colors based on my selection. However, I would like to have a specific title when the object is minimized (or not "activated"), then it has when it is restored.
I'm thinking there MIGHT be a way to do this if I use an IF statement and include the object ID... but I'm not sure how.
Any advice would be appreciated,
Gerhard
Gerhardl,
Here's a brief how-to for reference:
First, define a variable in Variable Overview (Ctrl+Alt+V) as vTexT
1. Create a button (MinimizeButton) to minimize object (use Action - Minimze object with ObjectID
- Use another action on the same button to set Variable vText to 0
2. Create another button (RestoreButton) with action to restore object using the same object ID
- Use another action on the same button to set Variable vText to 1
3. Create the chart and add title like:
=if(vText=0,'Only Text','Text with Numbers')
4.Click the buttons to minimize or restore chart with corresponding title.
Hope that helps.
Regards,
-Khaled.
Gerald,
I don't know any direct way of doing that. Perhaps, you can use a macro.
As a workaround, you can create a variable named 'vText' and show two seperate texts (one with count and one without count) in the title. However, this will require you to minimize or restore the chart using buttons.
Please find attachment.
Hope that helps.
Regards,
-Khaled.
Hi Khaled,
Sorry for not mentioning this in my post, but I'm using QV Personal Edition so cannot open your attachment.
I appreciate your feedback though - will see if I can figure this out.
G
Gerhardl,
Here's a brief how-to for reference:
First, define a variable in Variable Overview (Ctrl+Alt+V) as vTexT
1. Create a button (MinimizeButton) to minimize object (use Action - Minimze object with ObjectID
- Use another action on the same button to set Variable vText to 0
2. Create another button (RestoreButton) with action to restore object using the same object ID
- Use another action on the same button to set Variable vText to 1
3. Create the chart and add title like:
=if(vText=0,'Only Text','Text with Numbers')
4.Click the buttons to minimize or restore chart with corresponding title.
Hope that helps.
Regards,
-Khaled.