different behavior Desk and PPC

Put Claude

Active Member
Licensed User
Longtime User
Hi,

On Desk : text in a label will return at the end of the label...
On PPC : text in a label will NOT return at the end of the label...
Than, I have only one line with missing the rest behind the label edge.
Is there a workaround so I have a label-looking textfield with all my text in it on PPC?
No multiline textbox please, because of the vertical scrolbar.

Put Claude Belgium
 

Put Claude

Active Member
Licensed User
Longtime User
Hi Erel,

On my pocket Ipaque hx2110 mobile 3SE, the labeltext will not wrap...
Also on my Acer n300 mobile 5 , the labeltext will not wrap...
On Desktop , the labeltext always wrap...
There is no workaround to get something like a label with wrapped text in it.
So, I use the multiline textbox...

Put Claude Belgium
 

specci48

Well-Known Member
Licensed User
Longtime User
Hi Erel,

my uploaded file shows the different behaviour.

The difference is:
- on the desktop, the word wrap is done even in the middle of a very long word
- on the device, the word wrap is only done AFTER a word (when a space is reached)

So if there is a very long word to show, the long word may be truncated on the device :(


specci48
 

Attachments

  • Wrap.sbp
    578 bytes · Views: 259

Put Claude

Active Member
Licensed User
Longtime User
Label Wrap

Hi Erel,

Modify a little (only a button) so you can easy test the thing.
I first put text in 'SerBuf', that is the buffer that hold the NMEA sentence or hold a text string of choise, from this point: in the program,
You can get a sentence from GPS into the buffer, by then, the buffer in the label will not wrap on pocket.
Putting text in the buffer by testbutton, buffer will wrap on pocket...
Try many things... even placed label filling on other places, also disconnect OnCom and close Comport before Label filling, nothing... I wil be damed to use the multiline textbox :)

Put Claude Belgium
 
Top