|
#1
| |||
| |||
| currently I'm using XmText for displaying values. Displaying numbers I'm intending to align them on the right side... How? kindly Thomas |
|
#2
| |||
| |||
| On Oct 5, 11:46*pm, Thomas Lehmann > Hi, > > currently I'm using XmText for displaying values. > Displaying numbers I'm intending to align them > on the right side... > > How? > By brute force, using the XmNmodifyVerify callback. In the callback, retrieve the existing text, verify that appending the modification will still create a number, then modify the currInsert, newInsert, startPos, endPos, and text fields of the callback struct such that the new text replaces the old. You will have to realloc the text->ptr field to allow for space for the new longer value. -- Fred Kleinschmidt |
![]() |
« Previous Thread
|
Next Thread »
| Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Console alignment doesn't match X alignment ?! | unix | Help | 0 | 09-30-2007 02:49 PM |
| Copy web text fr FF2 PASTE to outlook text mail msg get an attachment not text | unix | Mozilla | 6 | 02-26-2007 12:50 AM |
| Export/Import text from/into email textbox in Firefox to/from the text file | unix | Mozilla | 0 | 10-23-2006 12:36 PM |
| Export/Import text from/into email textbox in Firefox to/from the text file | unix | Mozilla | 2 | 10-23-2006 12:30 PM |
| gecko/mac css bug: a:hover redraws text again and again, causing blurry thick fuzzy text | unix | Mozilla | 8 | 10-12-2006 09:43 PM |
All times are GMT. The time now is 08:16 AM.




