Hi, Andrew.

I also ask something similar to Antonio; in my case about the
Iup.SetAttribute in something that I caqlled "About IUP and Lua, DrawLine".

In that message -- I attached it here for you -- he says me that
SetAttribute is not needed; then you could do something as:

gbox.ORIENTATION = "HORIZONTAL"
gbox.NUMDIV = "2"

for your script.

I wait this answer can help you.

HERNAN CANO M


2016-04-16 15:33 GMT-05:00 Antonio Scuri:

> 1) There is no DrawLine function in IUP
>
> 2) No. iup.split is a container to split a region in two parts.
>
> 3) in Lua, no. Just do:
>
>    label0.title = 'Digite los datos indicados:'
>
>   A suggestion, you test code would be much interesting if you use
> iup.hbox and iup.vbox to automatically position the labels and texts
> without setting any sizes of positions.
>
> Best,
> Scuri
>
>
> On Sat, Apr 16, 2016 at 5:00 PM, Hernan Cano wrote:
>
>> Hi, Antonio.
>>
>> I am very pleasant with my first trying with IUP.
>>
>> Help me with these two things.
>>
>> 1.
>> In the joint file SAMPLEHC3.LUA I need to draw a line some 5 pixels below
>> Label0.
>> How can I get it?
>>
>> If I use DrawLine I got this err message:
>>
>>   attempt to call a nil value (field 'DrawLine')
>>
>> 2.
>> If I use Split, it does not appear in the Dialog.
>> It seems that I can not give the coordinates (location).
>> I use Flush, but does not run as expected.
>>
>> How can I put the Split (the line) in the Dialog?
>>
>> Is Split a 'solution' for getting a 'line'?
>>
>> 3.
>> I need to use SetAttribute for changing the caption of Label0.
>> But it does not do nothing.
>>
>> Can you say me what is happening with Label0?
>>
>>
>> Thanks.
>>
>>
>>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to