Quote:
1) this is actually not possible because of the build up of the TEXT object.
2) String arrays are always shown in the correct sort. Maybe check txt_setvisible / invisible
A small addition:
The first question can be realized with the new txt_create command:
Code:
var Txt_Array[20];
TEXT* txt_pointer;
//...
var a = 0;
while(a < 20)
{
Txt_Array[a] = handle(txt_create(1,1));
a += 1;
}
//...
txt_pointer = ptr_for_handle(Txt_Arrray[0]);
txt_pointer.font = font;
Triple-X
hey!
Can't get this to work. Does this work for you? It seems I can't use TEXT* because probably there are no such thing as a TEXT pointer.
At least the manual doesn't list TEXT* in the Pointers page, and all other keywords did work on this sample (STRING*, PANEL* etc)
If this is true, then... What the hack would I need txt_create() for, if I can't store its pointer?
Epatata: \n characters work for me in text strings.