Align text to Center in StatusBar

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Align text to Center in StatusBar

Post 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Align text to Center in StatusBar

Post by srvet_claudio »

Ok.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Align text to Center in StatusBar

Post 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 2346 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply