[Solved] Highlight control w/ focus and textbox calculations

Creating a macro - Writing a Script - Using the API

[Solved] Highlight control w/ focus and textbox calculations

Postby streub » Mon Aug 21, 2017 5:50 pm

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
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: highlight control with focus and textbox calculations

Postby JeJe » Tue Aug 22, 2017 10:40 am

See attached document.
Attachments
yellow on textbox focus.odt
(10.57 KiB) Downloaded 57 times
Openoffice 4.1.2
Windows 8
JeJe
Volunteer
 
Posts: 508
Joined: Wed Mar 09, 2016 2:40 pm

Re: highlight control with focus and textbox calculations

Postby streub » Tue Aug 22, 2017 8:03 pm

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
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 5 guests