Page 2 of 2

Re: Align text to Center in StatusBar

Posted: Wed Apr 01, 2015 3:08 pm
by Pablo César
Pablo César wrote:@ Dr. Claudio,

I have two frustrations in this my last example: (These I already solved, not more fustrations around)
  1. I can not make trimming in other fonts. I only handle with monospaced fonts.
    (This I already solved)
    Is there any other way to do it ? I saw something like Add a ToolstripLabel to the StatusStrip (but I do not know how to do it... :oops:
     
  2. When at ON SIZE event, I can not make My_SetStatusBarSize properly.
    (This I also already solved)
    I believe this is happening probably due to this event calls the FIXED internal routine of:

    For i := 2 To HMG_LEN (anWidths) :cry:

    Probably at our library, this could be fixed ?
All of us will appreciate once again your efforts, knowledges and a helping hand... :P
Dear Claudio,

As you can read now, after my re-edited message. The two difficulties I had found, do not exist any more. Please do not considere my previous, message at least for one thinkg:

Here It is available, if it has been choosen for including up and also fix the current library, especially in Trimming question.

I believe that many users would benefit from these new features in StatusBar. :)

serge_girard wrote:I know it is an indication; your suggestions of improvements are great!
I'm very glad to know you find useful. Thank you Serge for your kind of words ! :)

B.Rgds

Re: Align text to Center in StatusBar

Posted: Wed Apr 01, 2015 7:14 pm
by srvet_claudio
Ok.

Align text to Center in StatusBar

Posted: Wed Apr 01, 2015 9:41 pm
by Pablo César
Hi Claudio, thank you for your prompt reply.
Pablo César wrote:Please do not considere my previous, message at least for one thinkg...
srvet_claudio wrote:Ok.
When you said OK is this means that you will replace current code by this:
Screen4.png
Screen4.png (33.21 KiB) Viewed 2403 times
Otherwise, My_SetStatusBarSize will need _HMG_SYSDATA[20][nIdx] to keep overwriting for proper and good working (please revise this code for downloading and you will get better understanding).

Rgds