[Iup-users] simultaneous pplots

2014-05-31 Thread Milind Gupta
Hi, I am using iup to to plot graphs using pplots. I am using it from the Lua interpreter. What would be the best way to emulate the same functionality that Matlab provides of non blocking plots? Right now when I create a dialog and place a plot in there unless I go into MainLoop the dialo

[Iup-users] difference between iupcanvas and cd

2014-05-31 Thread Milind Gupta
Hi, What is the difference between iupcanvas and the cd library? Thanks, Milind -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet___

[Iup-users] iup cells example

2014-06-02 Thread Milind Gupta
Hi, Is there a cells control example file somewhere? I want to create 2 side by side cell controls with their vertical scroll bars synced. How can I do this? Are there some examples to manipulate scroll bars. Thanks, Milind --

Re: [Iup-users] iup cells example

2014-06-03 Thread Milind Gupta
gt; > Best, > > Scuri > > > > *From:* Milind Gupta [mailto:milind.gu...@gmail.com] > *Sent:* terça-feira, 3 de junho de 2014 01:45 > *To:* iup-users@lists.sourceforge.net > *Subject:* [Iup-users] iup cells example > > > > Hi, > > Is there a cells c

[Iup-users] iup.mainloop

2014-06-06 Thread Milind Gupta
Hi, I have created a timer and then I do iup.mainloop. In the timer I create a dialog the 1st time. But somehow the dialog seems to be flickering: iup = require("iuplua") local timer = iup.timer{time = 50, run = "YES"} local flag function timer:action_cb() print("Timer run") if not flag then

Re: [Iup-users] iup.mainloop

2014-06-06 Thread Milind Gupta
show() end flag = true timer.run = "YES" end iup.MainLoop() But the program ends as soon as the dialog closes. How can I keep iup running? The timer is still running so why does iup exit? Thanks, Milind On Fri, Jun 6, 2014 at 10:03 PM, Milind Gupta wrote: > Hi, > I hav

[Iup-users] Show the same plot in 2 dialogs

2014-07-02 Thread Milind Gupta
Is it possible to show the same plot object in 2 different dialogs? It would be like the plot having 2 parents? If I create another dialog with the same plot that dialog comes to be empty. Is there a way to do this? Thanks, Milind -

Re: [Iup-users] Show the same plot in 2 dialogs

2014-07-02 Thread Milind Gupta
ter, > or create a IupPPlot, and configures the plot, so you can call it twice, or > many times for each new dialog. > > Best, > Scuri > > > > On Wed, Jul 2, 2014 at 7:21 PM, Milind Gupta > wrote: > >> Is it possible to show the same plot object in 2 different dialogs

[Iup-users] iup.destroy causes crash

2014-07-02 Thread Milind Gupta
Hi, I have a dialog which if I destroy causes Lua to crash.The dialog has nested vboxes and hboxes and those have plots in them. At first I detach all the plots since I do not want to destroy them and then I destroy the dialog assuming that it will destroy all the nested hboxes and vboxes.

Re: [Iup-users] iup.destroy causes crash

2014-07-03 Thread Milind Gupta
Another important observation is that it works fine if there is just 1 such dialog. If there are multiple dialogs and one of them is closed then only lua crashes. Thanks, Milind On Wed, Jul 2, 2014 at 11:50 PM, Milind Gupta wrote: > Hi, >I have a dialog which if I destroy caus

Re: [Iup-users] iup.destroy causes crash

2014-07-03 Thread Milind Gupta
Also the crash happens after the timer action_cb function ends i.e. after execution of a couple of statements till it reaches the end of the function and transfers control back to MainLoop. Thanks, Milind On Thu, Jul 3, 2014 at 12:58 AM, Milind Gupta wrote: > Another important observat

Re: [Iup-users] iup.destroy causes crash

2014-07-05 Thread Milind Gupta
> Scuri > > > > On Thu, Jul 3, 2014 at 5:00 AM, Milind Gupta > wrote: > >> Also the crash happens after the timer action_cb function ends i.e. after >> execution of a couple of statements till it reaches the end of the function >> and transfers control back t

Re: [Iup-users] iup.destroy causes crash

2014-07-07 Thread Milind Gupta
>> on monday. >> >> Best, >> Scuri >> >> >> >> On Sat, Jul 5, 2014 at 6:18 AM, Milind Gupta >> wrote: >> >>> Hi, >>> I made a single lua file that replicates the problem on my >>> computer. The file requires iup

[Iup-users] iup.destroy causes crash

2014-07-08 Thread Milind Gupta
I don't know if my last message made it to the list so I am posting it again: I am not sure if I understood properly but here is what I tried: 1. Defined the close_cb callback for the dialog. The function always returns iup.IGNORE 2. If a variable value is true then only it will destroy the dialo

Re: [Iup-users] iup.destroy causes crash

2014-07-09 Thread Milind Gupta
ist before. > > Your logic is inverted compared to I suggest you. You should set a flag in > close_cb and use it in the timer callback. > > Best, > Scuri > > > On Tue, Jul 8, 2014 at 4:33 PM, Milind Gupta > wrote: > >> I don't know if my last message

[Iup-users] Dynamic Rich text document

2014-08-12 Thread Milind Gupta
Hi, I am looking to emulate a form which has boxes whose sizes can vary as the text in them is written. These boxes have to handle text with formatting (rich text). Is it possible and by any chance any example or tutorial of such a program, hopefully in Lua? I would want to place these boxes

Re: [Iup-users] Dynamic Rich text document

2014-08-14 Thread Milind Gupta
Any guidance, comments, anyone? Thanks, Milind On Tue, Aug 12, 2014 at 1:40 PM, Milind Gupta wrote: > Hi, > I am looking to emulate a form which has boxes whose sizes can vary > as the text in them is written. These boxes have to handle text with > formatting (rich

Re: [Iup-users] Dynamic Rich text document

2014-08-14 Thread Milind Gupta
> IupVbox where you add another element. Processing mouse callbacks on the > IupCanvas is possible to move the box around. > > Best, > Scuri > > > > > > > > > > On Tue, Aug 12, 2014 at 5:40 PM, Milind Gupta > wrote: > >> Hi, >> I am

[Iup-users] Lua crashing with iuptext.addformattag

2014-08-14 Thread Milind Gupta
Hi, I was trying to learn how to use the formatting capabilities of iuptext and I modified the multiline.wlua example in the examples directory. Here is what I did: -- IupMultiline Simple Example in IupLua -- Shows a multiline that ignores the treatment of the 'g' key, canceling its effect

Re: [Iup-users] Dynamic Rich text document

2014-08-16 Thread Milind Gupta
Hi Karagy, Thanks for looking at it. I tried running the file you send but I get the following error: lua: cd_buttons.wlua:112: attempt to call field 'backgroundbox' (a nil value) stack traceback: cd_buttons.wlua:112: in main chunk [C]: ? Milind On Fri, Aug 15, 2014

Re: [Iup-users] Lua crashing with iuptext.addformattag

2014-08-19 Thread Milind Gupta
n Thu, Aug 14, 2014 at 9:48 PM, Antonio Scuri > wrote: > >> I will check that tomorrow. >> >> Scuri >> Em 14/08/2014 21:43, "Milind Gupta" escreveu: >> >>> Hi, >>> I was trying to learn how to use the formatting capabilities o

[Iup-users] Sigdraw screen shot

2014-08-19 Thread Milind Gupta
I see the SigDraw screen shot on the IUP website ( http://www.tecgraf.puc-rio.br/iup/en/screenshots/tecgraf/superv_sigdraw.png) which looks good. How was the schematic editor implemented? I mean using which controls? I am sure it must be allowing dragging of components and their associated texts al

Re: [Iup-users] Lua crashing with iuptext.addformattag

2014-08-19 Thread Milind Gupta
gt; Scuri > > > > On Tue, Aug 19, 2014 at 5:08 PM, Milind Gupta > wrote: > >> So what is the method to add formatting to the text at run time as text >> is added to the control? >> >> >> >> >> On Tue, Aug 19, 2014 at 7:38 AM, Antonio Scuri

[Iup-users] Testing Lua Application

2014-08-20 Thread Milind Gupta
Hi, I am writing an application in Lua using IUP GUI toolkit. I am thinking of ways I can test the GUI interface. Is there a library or method so that I can write a lua script to move the mouse, click and type? Basically perform the functions of the mouse and keyboard, thus emulate the user.

Re: [Iup-users] Dynamic Rich text document

2014-08-21 Thread Milind Gupta
moving handler. > > Best, > Scuri > > > > > > On Sat, Aug 16, 2014 at 12:51 PM, Karagy wrote: > >> I ran this example using iuplua5.1.exe version 3.11. >> >> 8/16/2014 18:16, Milind Gupta пишет: >> > Hi Karagy, >> >Thanks for

Re: [Iup-users] Dynamic Rich text document

2014-08-21 Thread Milind Gupta
iup.cbox{ cv } print(tb) iup.Append{cbox,tb} vbox = iup.scrollbox{cbox} dlg = iup.dialog{vbox; title="Dialog", size="100x100"} dlg:show() function cv:motion_cb(x, y, r) print(x, y, r) end if (iup.MainLoopLevel()==0) then iup.MainLoop() end Thanks,

[Iup-users] Overlap controls over canvas

2014-08-22 Thread Milind Gupta
Hi, It would be great if we can have a text box with formatting that can be placed on top of a canvas much like having IUPGLText. Is it possible to have that? Is it possible to emulate it by overlapping the text box over a canvas control if transparency is not required? Thanks, Milind -

Re: [Iup-users] Overlap controls over canvas

2014-08-22 Thread Milind Gupta
control so how can I have that as a child of the IupGLCanvasbox? Thanks, Milind On Fri, Aug 22, 2014 at 11:10 AM, Antonio Scuri wrote: >Yes, it is. Using the new IupGLCanvasBox element of the new > IupGLControls library. > > Best, > Scuri > > > > On Fri, Aug

Re: [Iup-users] Overlap controls over canvas

2014-08-22 Thread Milind Gupta
at 1:34 PM, Antonio Scuri wrote: > The documentation is outdated. I already solve that limitation. Thanks for > reporting. > > Best, > Scuri > Em 22/08/2014 17:31, "Milind Gupta" escreveu: > > I was reading the IUPGLcanvasbox documentation over there it says: >&

Re: [Iup-users] Overlap controls over canvas

2014-08-22 Thread Milind Gupta
Found it: require("iupglcontrols") And it works great! Thanks Milind On Fri, Aug 22, 2014 at 1:56 PM, Milind Gupta wrote: > Somehow I don't have glcanvasbox. I have 3.11 and I do: > > require("iuplua") > require("iupluagl") >

[Iup-users] Using IupGLcanvas

2014-08-22 Thread Milind Gupta
Hi, Looking at IupGLcanvas documentation it says that Lua does not have any functions for OpenGL libraries and we can use something like Luagl. I see that being used in the glcanvas example. There are no updates in the library since 2012. Is the library still active or abandoned? Is it p

[Iup-users] Writing Math

2014-08-23 Thread Milind Gupta
Hi, I was looking for a way to write Math and equations on the user interface. I see that the MGL plot control parses Latex for writing math. I tried it but it allocates some area for the plot as well. Is there a way to remove the plot and just use the title to write equations? Or is t

[Iup-users] Overlapping controls on top of other controls

2014-08-23 Thread Milind Gupta
Hi, I am using the glcanvasbox and I add 2 controls. I notice that the one added later is drawn over the 1st one if their sizes overlap. Is this a consistent behaviour? If I want to add a control say iuplabel in the glcanvasbox and I want it such that it is displayed on top of any c

Re: [Iup-users] Writing Math

2014-08-23 Thread Milind Gupta
hat IupMglPlot will always reserve some > space ofor the plot. We could create a IupMglLabel for instance. It is not > complicated. > > Best, > Scuri > > > > On Sat, Aug 23, 2014 at 12:41 PM, Milind Gupta > wrote: > >> Hi, >> I was looking for a way to writ

Re: [Iup-users] Writing Math

2014-08-24 Thread Milind Gupta
Thanks, That would be really useful. Regards, Milind On Sun, Aug 24, 2014 at 5:52 AM, Antonio Scuri wrote: > Yes. > > Not much, I can fit this on our regular schedule for the next version. > > Best, > Scuri > > > > On Sun, Aug 24, 2014 at 2:21 AM, Mili

[Iup-users] Using the canvas scrollbar

2014-08-25 Thread Milind Gupta
Hi, I am trying to use the scrollbar on the glcanvas box. I did scrollbar="YES" when creating it. I don't have a scroll_cb defined. The Scroll bar shows up but the scroll action does seem to be scroll the canvasbox. My controls (I have a text box in there) remain stationery. How can I g

Re: [Iup-users] Using the canvas scrollbar

2014-08-26 Thread Milind Gupta
est, > Scuri > > > > On Mon, Aug 25, 2014 at 4:48 PM, Milind Gupta > wrote: > >> Hi, >> I am trying to use the scrollbar on the glcanvas box. I did >> scrollbar="YES" when creating it. I don't have a scroll_cb defined. The >> Scrol

Re: [Iup-users] Writing Math

2014-08-26 Thread Milind Gupta
curi > > > > On Sun, Aug 24, 2014 at 11:10 AM, Milind Gupta > wrote: > >> Thanks, >> That would be really useful. >> >> Regards, >> Milind >> >> >> >> On Sun, Aug 24, 2014 at 5:52 AM, Antonio Scuri >> wro

[Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Milind Gupta
Hi, I have 2 iuptree elements in an iuptabs control which is in a iupsplit element. Somehow this combination makes the split bar not go all the way to hide the tabs control. The tabs control has a lower limit beyond which the split cannot move. How can I make the split move all the way? I hav

Re: [Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Milind Gupta
After more experimentation it seems that it happens whatever control I place in iupTabs. Any suggestions on how I can make the splitter go all the way would be helpful. Thanks, Milind On Fri, Aug 29, 2014 at 12:23 AM, Milind Gupta wrote: > Hi, > I have 2 iuptree elements in an i

Re: [Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Milind Gupta
= "YES", ...} ? > > And no BORDER attribute in hbox or vbox. > Enclose content to frame. > > 8/29/2014 11:23, Milind Gupta пишет: > > Hi, >>I have 2 iuptree elements in an iuptabs control which is in a >> iupsplit element. Somehow this combination

[Iup-users] Get ratio of pixel size to screen size

2014-08-29 Thread Milind Gupta
Hi, Is there any direct way to find out how much would say 100 pixels measure on the actual screen? Thanks, Milind -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/__

Re: [Iup-users] iuptree inside iuptabs in a iupsplit

2014-08-29 Thread Milind Gupta
gt; minsize="0x0", rastersize="0x0"} > comps.structTree = iup.tree{expand="YES", tabtitle = "Structure", > minsize="0x0", rastersize="0x0"} > > Then, you can setup necessary minsize instead "0x0". > > > 8/29/2

Re: [Iup-users] Get ratio of pixel size to screen size

2014-08-29 Thread Milind Gupta
uri > > > > On Fri, Aug 29, 2014 at 8:47 PM, Milind Gupta > wrote: > >> Hi, >> Is there any direct way to find out how much would say 100 pixels >> measure on the actual screen? >> >> Thanks, >> Milind >> >> >> -

Re: [Iup-users] Writing Math

2014-09-03 Thread Milind Gupta
at 5:33 PM, Antonio Scuri wrote: > Yes. > Em 26/08/2014 19:47, "Milind Gupta" escreveu: > > Thanks, >> I will try it out when I get time to compile. For lua it >> would be iup.mgllabel? >> >> Milind >> >> >> >> O

Re: [Iup-users] Writing Math

2014-09-03 Thread Milind Gupta
Scuri wrote: >Try this sample. > > Best, > Scuri > > > > On Wed, Sep 3, 2014 at 5:00 PM, Milind Gupta > wrote: > >> Hi Antonio, >> I tried mgllabel out but somehow it still seems to create a plot >> area. I have attached my script that

[Iup-users] Using IUP element handle as a lua table key looses value

2014-09-03 Thread Milind Gupta
Hi, I am using the element handle of a multiline text control as a key in a table (data). But when the table is accessed in the map_cb function (called when the control is mapped) the value for that key is somehow lost! I have the test case in the attached script. The print statements show

Re: [Iup-users] Using IUP element handle as a lua table key looses value

2014-09-03 Thread Milind Gupta
Sorry, the right attachment is this one: On Wed, Sep 3, 2014 at 7:15 PM, Milind Gupta wrote: > Hi, > I am using the element handle of a multiline text control as a key in > a table (data). But when the table is accessed in the map_cb function > (called when the control is

Re: [Iup-users] Using IUP element handle as a lua table key looses value

2014-09-03 Thread Milind Gupta
It gets even more peculiar. If I print the table keys and values the key==userdata evaluates to true but accessing the table with each of them gives different results i.e. data[key] ~= data[userdata]. I have attached the updated script. On Wed, Sep 3, 2014 at 7:20 PM, Milind Gupta wrote

[Iup-users] [ANN] LuaTerminal

2014-09-05 Thread Milind Gupta
Hello, I would like to share this small module I wrote for my application. This module creates a terminal on a iuptext control. So any application using IUP can use this module to create a Lua shell embedded anywhere in its UI. Some features are: - Supports multiple concurrent terminal

Re: [Iup-users] iup site

2014-09-06 Thread Milind Gupta
Is it possible to have the PDF searchable in english. Somehow the text in the PDF is not english characters. Thanks, Milind On Sat, Sep 6, 2014 at 10:04 AM, Antonio Scuri wrote: > Yes, we are under D.O.S. attack... > > Meanwhile, the full documentation is available on SorceForge downloads. >

Re: [Iup-users] Using IUP element handle as a lua table key looses value

2014-09-06 Thread Milind Gupta
Thanks, Milind On Sat, Sep 6, 2014 at 10:28 AM, Karagy wrote: > Hi, Milind. > > First, print(obj) is, literally, print(tostring(obj)). > Second, > http://stackoverflow.com/questions/8683144/light-userdata-as-table-keys > > wbr, >Karagy. > > >

[Iup-users] Ribbon Toolbar

2014-10-11 Thread Milind Gupta
Hi, How can I implement a ribbon toolbar as seen in Microsoft Office software? Would it have to be a panel with customized buttons/text boxes etc? or would there be a more standard way to doing it? I see wxWidgets has a class for wxRibbonToolbar, does windows offer this natively? Thanks, Mi

Re: [Iup-users] Ribbon Toolbar

2014-10-12 Thread Milind Gupta
ement something similar to the Microsoft Ribbon using IupZbox, > IupButton/IupLabel and a series of images. But it is a lot of work. > > Best, > Scuri > > > > > On Sun, Oct 12, 2014 at 1:15 AM, Milind Gupta > wrote: > >> Hi, >>How can I implement a r

[Iup-users] Making dialog visible in case of error

2014-10-18 Thread Milind Gupta
Hi, I have the following scenario. I have a single dialog which I hide but I maintain the mainloop to keep the program active and code runs in the background. But if an error occurs in the code then the hidden dialog does not get visible. Is it possible to have the dialog become visible if s

Re: [Iup-users] Making dialog visible in case of error

2014-10-20 Thread Milind Gupta
t; What do you mean by "the hidden dialog does not get visible"? Did you > called IupShow on the dialog an it didn't work? > > Best, > Scuri > > > On Sun, Oct 19, 2014 at 2:33 AM, Milind Gupta > wrote: > >> Hi, >>I have the following s

Re: [Iup-users] Making dialog visible in case of error

2014-10-20 Thread Milind Gupta
Thanks, Milind On Mon, Oct 20, 2014 at 12:04 PM, Antonio Scuri wrote: > No, I guess you will have to intercept the Lua error processing to show > your dialog. > > Best, > Scuri > > > On Mon, Oct 20, 2014 at 4:19 PM, Milind Gupta > wrote: > >> I create a

[Iup-users] using iup.append to add members to iupsplit

2014-11-05 Thread Milind Gupta
Hi, I am trying to add 2 text boxes to iup.split after I create it (and the main dialog is already visible) using iup.Append. The text boxes are created after the dialog was already visible. I then call iup.Map for the 2 text boxes. But the text boxes do not show up in the split control. How c

Re: [Iup-users] using iup.append to add members to iupsplit

2014-11-06 Thread Milind Gupta
dialog layout using iup.Refresh. > > Best, > Scuri > > > On Thu, Nov 6, 2014 at 5:33 AM, Milind Gupta > wrote: > >> Hi, >> I am trying to add 2 text boxes to iup.split after I create it (and >> the main dialog is already visible) using iup.Append. The text boxe

Re: [Iup-users] using iup.append to add members to iupsplit

2014-11-06 Thread Milind Gupta
ap(bt); > IupMap(ml); > IupRefresh(dlg); > > Instead of simply: > > split = IupSplit(bt, ml); > > And it works. Please, check this on your code. > > Best, > Scuri > > > On Thu, Nov 6, 2014 at 2:41 PM, Milind Gupta > wrote: > >> I tried that bu

[Iup-users] Cannot add iup.List to iup.split

2014-11-06 Thread Milind Gupta
Hi, When I run the following code: require("iuplua") GUI = {} GUI.topList = iup.List{"2",visiblecolumns = 2} print(GUI.topList) GUI.botList = iup.List{"1",visiblecolumns = 2} print(GUI.botList) GUI.vertSplit = iup.split{GUI.topList,GUI.botList;orientation = "HORIZONTAL",minmax="200:800",

Re: [Iup-users] Cannot add iup.List to iup.split

2014-11-06 Thread Milind Gupta
The problem was that L should be lower case in iup.List Can the list control have multiple columns of data? Or do we have to use the matrix control for that? Thanks, Milind On Thu, Nov 6, 2014 at 4:53 PM, Milind Gupta wrote: > Hi, > When I run the following code: > > req

[Iup-users] scroll bar reserved space in iup.Matrix

2014-11-07 Thread Milind Gupta
Hi, Is there a way to get rid of the scroll bar reserved space when the scroll bar is not there in iup.matrix or to always show the scroll bar (disabled if not needed) so that the space does not look odd? Thanks, Milind -

Re: [Iup-users] scroll bar reserved space in iup.Matrix

2014-11-07 Thread Milind Gupta
t;> Date: 11/07/2014 3:56 AM (GMT-08:00) >> To: "IUP discussion list." >> Subject: Re: [Iup-users] scroll bar reserved space in iup.Matrix >> >> >> Yes. Just do scrollbar="no". >> >> Scuri >> Em 07/11/2014 06:07, "Milind Gupta&

[Iup-users] vbox growing beyond the dialog width

2014-11-07 Thread Milind Gupta
Hi, I thought I should have posted this in a separate thread since it is a different issue: I have this example script which I am using to adjust the matrix size so that it fits in the entire layout box it is in. But somehow the container keeps growing in size and grows larger than the main

[Iup-users] removing line from iup matrix

2014-11-10 Thread Milind Gupta
Hi, I want to delete some lines from the matrix control but somehow dellin attribute is doing nothing. Does it iteract with edition_cb? I don't have value_cb so it is in normal mode. Thanks, Milind -- Comprehensive S

[Iup-users] iupfiledlg with filter

2014-11-11 Thread Milind Gupta
When using the filedlg i noticed that if we have a filter and we type in the name of the file it does not append the filter extension to the name of the file. We can check for that and add it ourselves but the problem is that the filedlg gives the overwriting confirmation based on the file name it

[Iup-users] iupsplit callback

2014-11-13 Thread Milind Gupta
Hi, Is there any way I can get a call back when the splitter is adjusted? Thanks, Milind -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls

Re: [Iup-users] removing line from iup matrix

2014-11-13 Thread Milind Gupta
Thanks, yes it is working. I am using dellin. I think I had some syntax wrong. On Thu, Nov 13, 2014 at 5:08 AM, Antonio Scuri wrote: > Which value are you using in dellin? Is the matrix already mapped? > > Best, > Scuri > > > On Tue, Nov 11, 2014 at 4:15 AM, Milind Gu

Re: [Iup-users] iupsplit callback

2014-11-13 Thread Milind Gupta
I get the callback but it messes up the resizing ability for the split control. Milind On Thu, Nov 13, 2014 at 3:59 PM, Milind Gupta wrote: > Hi, > Is there any way I can get a call back when the splitter is adjusted? >

Re: [Iup-users] iupsplit callback

2014-11-13 Thread Milind Gupta
changed. This will be called also when the dialog is resized and > the split reajust its size. > > Just commit to the SVN. > > Best, > Scuri > > > > > On Thu, Nov 13, 2014 at 10:44 PM, Milind Gupta > wrote: > >> I tried to do the following: (splitter is

Re: [Iup-users] vbox growing beyond the dialog width

2014-11-13 Thread Milind Gupta
gt; reset the column size before setting fittosize. See the documentation. > > Best, > Scuri > > > > > > On Fri, Nov 7, 2014 at 3:29 PM, Milind Gupta > wrote: > >> Hi, >>I thought I should have posted this in a separate thread since it >> is

Re: [Iup-users] vbox growing beyond the dialog width

2014-11-14 Thread Milind Gupta
t; or not, can get it with a global atribute) and 2 pixels if BORDER=Yes (the > default). > >But instead of using DRAWSIZE, use RASTERSIZE. > > Best, > Scuri > > > On Thu, Nov 13, 2014 at 11:20 PM, Milind Gupta > wrote: > >> Thanks. I am doing FITTOSIZE f

Re: [Iup-users] vbox growing beyond the dialog width

2014-11-14 Thread Milind Gupta
Found it SCROLLBARSIZE in the Global Attributes page. Thanks. On Fri, Nov 14, 2014 at 10:12 AM, Milind Gupta wrote: > Which global attribute can get me the size of the scroll bar? I could not > find it. > > On Fri, Nov 14, 2014 at 4:19 AM, Antonio Scuri > wrote: > >>

[Iup-users] Changing the FONT in iupMatrix

2014-11-14 Thread Milind Gupta
Hi, I have some rows in the matrix that are added at run time. How can I set the font of the cells in these new rows? The documentation says that the FONT should be shown before the matrix is shown, so is it not possible to set it for the rows added later, or even if we want to change the FONT f

[Iup-users] iuptree converting a leaf to a branch

2014-11-20 Thread Milind Gupta
Hi, Is it possible to convert an existing node which is a leaf to a branch? Or do we have to delete it and add a leaf in its place? Thanks, Milind -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

[Iup-users] iuplabel natural size problem

2014-11-21 Thread Milind Gupta
Hi, I have the sample dialog below. When it appears for the 1st time it looks fine. Now I am having 2 problems with it that I don't understand: 1. The dialog allows itself to be sized smaller than QUARTERxQUARTER which I declared as the size. From the documentation I understood that that should

Re: [Iup-users] iuplabel natural size problem

2014-11-22 Thread Milind Gupta
In general - this is wrong way. > > 11/21/2014 23:01, Milind Gupta пишет: > > Please help me figure out why this dialog behaves this way and what I can >> do to fix it. >> > > > -- > Downl

[Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Milind Gupta
Hi, I have a dialog with 3 splitters. A VERTICAL split to split into 2 horizontal sections and each section has a HORIZONTAL split. When I drag the vertical split and keep dragging it (even though it stop moving) all the way to the end of the screen then Lua crashes. It happens also if I

Re: [Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Milind Gupta
When using 3.11 it does not happen. Could it be related to the new Valuechanged call back added to iupSplit in 3.12? Also here is the attachement I forgot in the last email. Milind On Sun, Nov 23, 2014 at 8:43 AM, Milind Gupta wrote: > Hi, > I have a dialog with 3 splitt

Re: [Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Milind Gupta
I was thinking it may be related to iup since it does not happen in version 3.11 only in 3.12. In 3.12 even holding the iup split bar causes the canvas scroll bar to flicker rapidly but it is quite smooth in 3.11. Removing the cbox does not fix the problem. I had added that because I was having

Re: [Iup-users] iupSplit causing lua to Crash

2014-11-23 Thread Milind Gupta
I have simplified the example and now I have text box within the scroll box. I still have the crashing problem. Milind On Sun, Nov 23, 2014 at 9:27 AM, Milind Gupta wrote: > I was thinking it may be related to iup since it does not happen in > version 3.11 only in 3.12. In 3.12 even h

[Iup-users] glcanvasbox as a container

2014-11-23 Thread Milind Gupta
In the attached example I am trying to use GLcanvasbox as a container for a text box and a mgllabel. If I don't put the canvasbox in a scroll box then the text box and mgllabel do not move with the scroll bar of the canvas. So the only way I see to place controls in a glcanvas box and move them alo

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Milind Gupta
Sun, Nov 23, 2014 at 12:09 PM, Milind Gupta wrote: > I have simplified the example and now I have text box within the scroll > box. I still have the crashing problem. > > > Milind > > > On Sun, Nov 23, 2014 at 9:27 AM, Milind Gupta > wrote: > >> I was thinki

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Milind Gupta
lso, > because I run your sample only in 3.12. > > Sorry, to take so long to answer but this week I'm having several > meetings and presentations at Tecgraf. > > Best, > Scuri > > > On Tue, Nov 25, 2014 at 5:04 PM, Milind Gupta > wrote: > >> Another thing I noti

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Milind Gupta
3.11.2 also causes the crash. Milind On Tue, Nov 25, 2014 at 11:58 AM, Antonio Scuri wrote: > Ok. Just let me know the 3.11.2 results. > > Best, > Scuri > > > On Tue, Nov 25, 2014 at 5:45 PM, Milind Gupta > wrote: > >> Hi Antonio, >> I un

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-11-25 Thread Milind Gupta
It shows the same behavior for the CPU usage and memory usage as 3.12 when dragging the iupSplit. Milind On Tue, Nov 25, 2014 at 12:08 PM, Milind Gupta wrote: > 3.11.2 also causes the crash. > > Milind > > > On Tue, Nov 25, 2014 at 11:58 AM, Antonio Scuri > wrote: > &

[Iup-users] canvas action callback stops happenning

2014-11-28 Thread Milind Gupta
Hi, I have attached a test case which on my system stops generating the canvas action call back when the scroll box is about 9/10 ths of all the way down. Please let me know if I am doing something wrong or is there a limitation on scroll box or the canvas in any way. Thanks, Milind

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-11-28 Thread Milind Gupta
this a bug? Thanks, Milind On Fri, Nov 28, 2014 at 10:48 AM, Milind Gupta wrote: > Hi, >I have attached a test case which on my system stops generating the > canvas action call back when the scroll box is about 9/10 ths of all the > way down. >Please let me kno

[Iup-users] iupscrollbox stops scrolling

2014-12-01 Thread Milind Gupta
Hi Antonio, I hope you got the test case and are able to reproduce. Thanks, Milind On Fri, Nov 28, 2014 at 12:44 PM, Milind Gupta wrote: > I modified the test case to just have a text box instead of the canvas. > After pasting a large text chunk in the text box it is more

Re: [Iup-users] iupSplit causing lua to Crash - Causes Memory Leak

2014-12-01 Thread Milind Gupta
dig into that as soon as I have some time. >> >> Thanks for testing. >> >> Best, >> Scuri >> Em 25/11/2014 18:15, "Milind Gupta" escreveu: >> >> It shows the same behavior for the CPU usage and memory usage as 3.12 >>>

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-01 Thread Milind Gupta
1",multiline="YES"} > > sb = iup.scrollbox{ > tb1 > } > dlg = iup.dialog{ > sb; > title="Dialog" > } > dlg:show() > > Works ok. But if you change 8581 to 38581 it will crop the visible area. > > Best, > Scuri > > > On Fri, Nov 28, 2014 a

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-01 Thread Milind Gupta
am and expand its own scrollbar. The chances that > internally would overcame this limitation are much more possible. > > Best, > Scuri > > > On Mon, Dec 1, 2014 at 8:39 PM, Milind Gupta > wrote: > >> Thanks for looking into this. I am curious how do programs get aro

Re: [Iup-users] canvas action callback stops happenning - iupscrollbox stops scrolling

2014-12-02 Thread Milind Gupta
t; > Best, > Scuri > > > On Mon, Dec 1, 2014 at 10:55 PM, Milind Gupta > wrote: > >> Actually my problem is that the custom control I was trying to create >> using iupglcanvas is not possible with this limitation. I need to have a >> composition of controls lik

[Iup-users] Get list of fonts available on a system

2014-12-03 Thread Milind Gupta
Hi, Is there a way in iup to get the list of fonts available on the system? Thanks, Milind -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Report

Re: [Iup-users] Get list of fonts available on a system

2014-12-04 Thread Milind Gupta
Thanks, Milind On Thu, Dec 4, 2014 at 3:27 AM, Antonio Scuri wrote: > Not through IUP or CD. In Windows, using its Win32 API it is possible. > > Best, > Scuri > Em 04/12/2014 04:10, "Milind Gupta" escreveu: > >> Hi, >> Is there a way in iup t

[Iup-users] Find out id of inserted node in iuptree

2014-12-11 Thread Milind Gupta
Hi, When I insert a node in a tree is there any direct way to find out the id of that new node? Or would I have to travel through the previous sibling hierarchy and find out all the visible children and then calculate the id myself? Thanks, Milind

Re: [Iup-users] Find out id of inserted node in iuptree

2014-12-11 Thread Milind Gupta
Thanks, Milind On Thu, Dec 11, 2014 at 9:13 AM, Antonio Scuri wrote: > See *LASTADDNODE* in the documentation. > > Best, > Scuri > > > On Thu, Dec 11, 2014 at 2:10 PM, Milind Gupta > wrote: > >> Hi, >> When I insert a node in a tree is there any d

[Iup-users] iupmatrix

2014-12-14 Thread Milind Gupta
Hi, Is there a way to display a button on some cell over iupmatrix or other controls? How is the dropbox placed on the cell which creates a dropdown option? Thanks, Milind -- Download BIRT iHub F-Type - The Free Enter

[Iup-users] Relation between text height at cell height

2014-12-14 Thread Milind Gupta
Hi, What is the relation between the text size and the minimum height of the matrix cell needed to fit the text? Is the relation same for a text box? Thanks, Milind -- Download BIRT iHub F-Type - The Free Enterprise-

  1   2   3   4   >