Search found 140 matches

by smd
Mon Jun 08, 2015 7:36 pm
Forum: Technical
Topic: Form Upper Left Corner Bitmap
Replies: 1
Views: 13366

Form Upper Left Corner Bitmap

Firemonkey XE8 In the upper left corner of all my forms is a small bitmap of a red circle with C++ in it. How do I change the bitmap graphic? I looked in the form properties, but it is not obvious if any of those entries control that bitmap. Of course the help system... it is an Embarcadero help sys...
by smd
Fri Jun 05, 2015 10:50 am
Forum: Technical
Topic: Intercepting OnDblClick
Replies: 1
Views: 13515

Intercepting OnDblClick

I made an event handler in a TMemo for OnDblClick to use my algorithm instead of the built-in algorithm. How do I turn off the built-in handler? From a previous post about processing key strokes, handling OnKeyDown I set Key to 0, which nullified any further processing. But the OnDblClick does not h...
by smd
Tue Jun 02, 2015 7:01 pm
Forum: Technical
Topic: Functions
Replies: 1
Views: 13377

Re: Functions

If you want to periodically update stuff without waiting for the user to click something, put a TTimer component on your form. Set the interval to however often you want to update. then set the event to do whatever it is you want to do. If you just want to eliminate a bunch of redundant code. Just m...
by smd
Mon Jun 01, 2015 8:53 am
Forum: Technical
Topic: ProgressBar display not updating
Replies: 8
Views: 38683

Re: ProgressBar display not updating

The issue here is simply that Firemonkey is invoking these buried processes from my simply moving data in/out of TMemo and playing with String variables. My C code does the actual processing (which completes the processing faster than the equivalent code written in C++). That is all I am doing. From...
by smd
Sun May 31, 2015 9:32 pm
Forum: Technical
Topic: ProgressBar display not updating
Replies: 8
Views: 38683

Re: ProgressBar display not updating

Application->ProcessMessages(); Sheesh! That cured everything. Also solved an intermittent, hard to repeat problem with processes stacking up to the point where a crash happens. A couple of strategically placed ProcessMessages and nearly my entire To-Do list of issues disappeared. It is like gettin...
by smd
Sun May 31, 2015 4:24 am
Forum: Technical
Topic: ProgressBar display not updating
Replies: 8
Views: 38683

Re: ProgressBar display not updating

Well this is turning into one of those all night'ers. I bypassed everything and simply hard set the progress bar to 50% then return. The bar updated correctly. Apparently a TMS component I am using is disabling refreshes of everything on the screen. Traced it into their operations. So now I have to ...
by smd
Sun May 31, 2015 3:04 am
Forum: Technical
Topic: ProgressBar display not updating
Replies: 8
Views: 38683

Re: ProgressBar display not updating

I did. I even tried using other numbers. I just finished trying a different tactic without success. Leaving the defaults of Max at 100 and Min 0, I do a float calculation to get a percentage result between 0 and 100 then set value to that number. The bar still does nothing. My processing function do...
by smd
Sun May 31, 2015 2:24 am
Forum: Technical
Topic: ProgressBar display not updating
Replies: 8
Views: 38683

ProgressBar display not updating

XE8, Firemonkey I have a function that is invoked by a menu item OnClick. The function does a huge crunch on many megabytes of text. A typical file can take 15-20 seconds to complete. I put a ProgressBar component on the StatusBar of the form. Each segment of the processing operation is actually qui...
by smd
Sun May 24, 2015 7:32 pm
Forum: Technical
Topic: NumberBox on a Popup
Replies: 1
Views: 12381

Re: NumberBox on a Popup

Well I gave up trying to get a popup to use an edit box. I created a new form instead. That seems to work properly. Still seems that I should be able to use an edit box on a popup. Oh well,. The Embarcadero documentation is my Moriarty.
by smd
Sun May 24, 2015 1:11 pm
Forum: Technical
Topic: NumberBox on a Popup
Replies: 1
Views: 12381

NumberBox on a Popup

XE8 Firemonkey I made a small simple Popup on my TMemo with two buttons (OK, Cancel) and a NumberBox for entering a line number. The popup is a child of the form, and the buttons and edit box are child of the popup. The popup comes up correctly when isopen is set to true, and the two buttons respond...
by smd
Fri May 22, 2015 1:53 pm
Forum: Technical
Topic: Embarcadero's Missing IsPunctuation() Characters
Replies: 1
Views: 12632

Embarcadero's Missing IsPunctuation() Characters

I have limited trust with non-standardized library routines provided by Embarcadero. For instance, the operations for determining upper case, lower case, punctuation, Embarcadero creates several routines which supposedly do the same process as isupper() islower, ispunct() standard C/C++ routines. I ...
by smd
Sat May 16, 2015 1:14 pm
Forum: Technical
Topic: How to auto-popup tool tip
Replies: 2
Views: 16455

How to auto-popup tool tip

Using Firemonkey, How do I get a tool tip to popup when mousing over a menu selection?
I do not see an OnHover type event for menu items, and nothing in the properties for a tool tip item.
by smd
Sat May 16, 2015 12:24 pm
Forum: General
Topic: About OOPs programming
Replies: 0
Views: 12188

About OOPs programming

by smd
Sat May 16, 2015 10:43 am
Forum: Technical
Topic: IsUpper deprecated, twice
Replies: 5
Views: 25942

Re: IsUpper deprecated, twice

problem with locale aware is that a single document may have multiple languages. What we need is an isupper() that works correctly with utf-8.
by smd
Fri May 15, 2015 3:39 pm
Forum: Technical
Topic: IsUpper deprecated, twice
Replies: 5
Views: 25942

Re: IsUpper deprecated, twice

Looking at the standard C library (my preference anyway), looks as though the iswupper() simply accommodates wide characters, but only checks for ASCII capitalization. Supposedly the IsUpper() routines discriminate various alphabets, such as Russian, accented latin characters, and such. Russian has ...