[Solved] Highlight control w/ focus and textbox calculations

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
streub
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

[Solved] Highlight control w/ focus and textbox calculations

Post by streub »

I have developed a price label using LibreOffice Writer.

There are numerous textboxes and checkboxes that require completion prior to printing.

I want the control background colors to change from white to a pale yellow when it receives
the focus. This feature will give the user greater ability to follow his/her progress through
completing the label. (Don't blame me, I didn't actually design the label)


Savings Percent = (Retail Price - Discounted Price) / Retail Price

I would love to upload the file but it exceeds the 2MB limit. I may be able to email it from my personal email to anyone willing to evaluate.

I am a novice to this software and programming and appreciate whatever assistance is provided.

Thank you

Streub
Last edited by streub on Sat Aug 26, 2017 8:21 pm, edited 1 time in total.
Streub

The more I learn from this forum, the more I get excited about using this strange application
JeJe
Volunteer
Posts: 2784
Joined: Wed Mar 09, 2016 2:40 pm

Re: highlight control with focus and textbox calculations

Post by JeJe »

See attached document.
Attachments
yellow on textbox focus.odt
(10.57 KiB) Downloaded 152 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
streub
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: highlight control with focus and textbox calculations

Post by streub »

Thank you for the response.

I will apply, test and respond.

Streub
Streub

The more I learn from this forum, the more I get excited about using this strange application
Post Reply