Hi, Milind.
In attach.
require("iuplua")
require("iuplua_plot")
plot = iup.plot{
MARGINBOTTOM = 20,
AXS_YAUTOMIN = "NO",
AXS_YAUTOMAX = "NO",
}
plot:Begin(0)
plot:Add(0, 109.9)
plot:Add(1, 109.91)
plot:Add(1, 109.92)
plot:End()
plot.AXS_YMIN = 109.80
plot.AXS_YMAX = 110.00
--plot.
3/15/2016 15:18, Robert Lin wrote:
> It only move caret one character towards right, and won't select anything as
> shift didn't press.
> My final purpose is to use Ctrl+Shift+Right/Left to select word.
Looks like an input language autoswitcher installed in system.
--
3/15/2016 15:18, Robert Lin wrote:
> On my Win7 64, IUP 3.17, Lua5.1
Can't reproduce problem on Win7 64, IUP 3.17, via
lua5.1.exe/wlua5.1.exe/iuplua51.exe (both 32/64 bit versions).
--
Transform Data into Opportunity.
Hi, 云履 .
You example with iup.SetGlobal('KEY', iup.K_sRIGHT) - worked ok.
With sequence:
iup.SetGlobal('KEYPRESS', iup.K_LSHIFT)
iup.SetGlobal('KEY', iup.K_RIGHT)
iup.SetGlobal('KEYRELEASE', iup.K_LSHIFT)
- it worked ok for me in you example (WinXP 32, IUP 3.17, via lua5.1).
I.e. When pressed
Hi.
You can init spin with big range, and just update spinvalue (example in
attach).
Why not?
require "iuplua"
dlg = iup.dialog{
iup.frame{
iup.vbox{
NMARGIN = "8x8",
iup.text{
SPIN = 'YES',
SPINMIN = -1,
Hi, 云履!
Try dialog.size = nil; iup.Refresh(dialog);
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web trans
Thanks a lot, Antonio!
11/11/2015 22:17, Antonio Scuri wrote:
>Hi,
>
>IupMatrixList inherits from IupMatrix. And in IupMatrix attributes are
> cached until a redraw is force using the REDRAW attribute. So, right after
> changing IMAGEVALUE, just call
>
> APP.mxlist.redraw
Hi, all!
I about programmatically check/uncheck the iup.matrixlist entries.
It's can be toggled (from code) immediately only when entry value updated.
Else needed user's mouse-click to matrixlist area for redraw.
It's ok?
Play with example in attach.
--
With best regards,
Ka
Hi.
You want do resize with alive scrollbars?
6/17/2015 10:41, Milind Gupta пишет:
> Hi,
> I have this sample attached. The aim is to resize the matrix
> columns and cells automatically depending on the weight assigned to the
> columns whenever the dialog is resized. The sizing algorith
Yes.
But, for non-labeled toggles, extra gap can be eliminated via setting
explicit rastersize.
In any case, it already fixed by You.
6/18/2015 1:41, Antonio Scuri пишет:
>No. The checkbox of the toggle has a fixed size in all native systems. I
> don't recall seeing a way to change that nei
Hi.
You can set explicit size for checkbox (example in attach).
At least in iuplua.
require "iuplua"
iup.dialog({
iup.vbox{
NGAP = 24,
ALIGNMENT = "ACENTER",
iup.frame{iup.toggle{ TITLE = "With Title", },},
iup.frame{iup.toggle{},},
iup.frame{iup.togg
fault package.cpath is missed semicolon between
".\?.dll" and "!\?53.dll"
wbr,
Karagy
--
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://l
Hi, Milind.
Check exactly name for luaL_openlib in your compiled dll and in official
dll (via an hex editor).
See also http://www.willus.com/mingw/yongweiwu_stdcall.html
--
One dashboard for servers and applications acr
Hi, all.
IUP 3.13, official bin, iuplua.
In iup.plot the plot.CLEAR not worked.
See example in attach.
After several button clicks - it crashes.
--
wbr,
Karagy
local iup = require("iuplua")
require("iupluacontrols")
require("iuplua_plot")
local T = {
Hi, all.
IUP 3.13, iuplua, iup.plot.
For plot with undefined TITLE and explicit MARGINBOTTOM - all zooming
operations scrolls-up away the X axis.
See example in attach.
Also, in iup-3.13_Docs.chm, for iup.PlotAddSamples missed 5-th argument
(counter).
--
With best regards,
Karagy
Hi, all.
WinXP 32bit. IUP 3.12. Used official binaries form sf.net.
New iup.plot control (replacement for iup.pplot) sometimes crashes.
Even simplest example, as i nattach.
Can't stable reproduce.
require("iuplua")
require("iuplua_plot")
plot = iup.plot{
TITLE = "Plot Test",
MARGINBOTT
Hi, Milind.
You want hide main dialog or an dilog - the child of main dialog?
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media,
Hi.
Look to iup.label{SEPARATOR="HORIZONTAL",} and
iup.label{SEPARATOR="VERTICAL",}.
12/23/2014 23:58, Milind Gupta пишет:
> Hi,
> I see in the iupcolordlg there is a divider line in the dialog that neatly
> separates out some areas. How is that line drawn? Is it done using a canvas
> or is th
Yep.
See "on_leave" callback for second tab in attached example.
When you leave tab, it print value of edited text field.
12/19/2014 11:02, Milind пишет:
Is it possible to read the current value in the editing text box? If I can read
that then I can track the edition and read the current valu
Hi, Antonio.
Hi, Milind.
12/17/2014 19:35, Antonio Scuri пишет:
Amazing.. I haven't notice that effect. Indeed the edition should have end
when the user clicks on another control.
Not always.
In some of cases, user can be confused by visible behaviour.
For example, editable empty dropdown li
Thanks.
I play with it via alien. And can change only height of tabs titles.
Example in attach (valid only for win32 environment, TCM_SETITEMSIZE
sent only by spin changes, text input not handled).
11/26/2014 19:16, Antonio Scuri пишет:
This is possible only in Windows. And only when tabs i
Hi, all.
It is possible (in future builds) to make tabtitles size can be
explicitly specified?
At least width (or rasterwidth) for horizontal tabtitles.
--
with best regards,
Karagy
--
Download BIRT iHub F-Type
Hi.
Let use explicit minsize, maxsize for greedy elements.
Or, even explicit rastersize.
For resize, the autocorrection for childs size is possible, but cumbersone.
In attach example for busPane.ins.
In general - this is wrong way.
11/21/2014 23:01, Milind Gupta пишет:
Please help me figure out
Hi, Milind Gupta.
It make sense only for non-multiple filters.
For single filter you can perform custom check for file existence, and,
if file exist - mimic warning dialog.
Example in attach.
But I can't setup properly PARENTDIALOG.
11/12/2014 2:14, Milind Gupta пишет:
When using the filedlg
Just for fun.
--
-- Shared Lists factory
--
local iup = require("iuplua")
local SHList = {}
function SHList:new(list)
o = {}
setmetatable(o, self)
self.__index = self
o.lists = {} -- holder for clones
o.list = list -- source model
return o
end
local function set_act
Hi, all.
In general, it is correct to call iup.Destroy(AnElement) from AnElemet's
child callback?
For sample:
hbox = iup.hbox{}
iup.Append({hbox, iup.button{
-- ...
action = function(this)
-- ...
iup.Destroy(hbox)
end,
})
Hi, Milind.
First, print(obj) is, literally, print(tostring(obj)).
Second,
http://stackoverflow.com/questions/8683144/light-userdata-as-table-keys
wbr,
Karagy.
--
Slashdot TV.
Video for Nerds. Stuff that matters
Sorry for (in some way) offtop.
Trying via browser http://www.tecgraf.puc-rio.br/iup/
I received:
Forbidden
You don't have permission to access /iup/ on this server.
--
Slashdot TV.
Video for Nerds. Stuff that matter
What about initial rastersize="0x0" w/o shrink="YES" ?
comps.contentTree = iup.tree{expand="YES", tabtitle = "Contents",
minsize="0x0", rastersize="0x0"}
comps.structTree = iup.tree{expand="YES", tabtitle = "Structure",
minsize="0x0", rastersize="0x0"}
Then, you can setup necessary minsize ins
If You still needed limit min width for tabs with shrink = "YES" - just
set iup.split minmax="200:1000", for sample, instead of "0:1000".
8/30/2014 0:19, Milind Gupta пишет:
> Thanks for the replies. Thank you Karagy, by just adding shrink="YES" in
> the
Thanx for iup.LayoutDialog() hint.
8/30/2014 0:30, Antonio Scuri пишет:
> Thanks Karagy. I Forgot To mention That.
>
> Best,
> Scuri
--
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.
What about iup.dialog{ ... shrink = "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 makes the split bar not
precompiled libs *_Win32_mingw4_lib?
3. What the optimal choices for threading model and exception handling
for statically linked iuplua app?
Note:
mingw-builds joined mingw-w64
msys2 looks nice and is gaining popularity
--
With best regards,
Karagy
I ran this example using iuplua5.1.exe version 3.11.
8/16/2014 18:16, 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 'backgroun
> Maybe it was a bad idea to make a call Refresh() within action() cb?
within motion_cb(), of cource.
--
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.
Hi.
In attach some example.
But "but something went wrong" ...
Maybe it was a bad idea to make a call Refresh() within action() cb?
I not experienced in messages processing.
require "cdlua"
require "iuplua"
require "iupluacd"
--require "iupluacontrols"
local function hex2cdcolor(s)
local r,
Hi, 阳光.
If you want preserve titlebar for maximized MDI childs - just set menu
for MDIFRAME dialog, and attach it to canvas MDIMENU attribute.
See example in attach.
Regards,
Karagy
APPNAME = 'MDI Demo'
require('iuplua')
MDIMenu = iup.menu{}
MainForm = iup.dialog
asymmetry of half-circles on the edges of the line for an
even thickness.
I believe that if this was a bug - it is very low priority.
Sorry to take away your time.
--
Regards,
Karagy.
--
Rapidly troubleshoot problems before
lines. (not realised in this example)
--
Regards,
Karagy.
require "cdlua"
require "iuplua"
require "iupluacd"
local cnv = iup.canvas {
rastersize = "80x80",
expand = "NO",
--border = "NO",
-- user-defined attr
Sorry, I forgot to explain - in this example, a line will appear if you
press the left mouse button on canvas.
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear p
In attach.
Please send me a screenshot so I know what to expect here.
WBR,
Karagy
<>--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear pic
Failed to specify: only for cd.XOR WriteMode.
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. Wit
end of the line
appears vertical indentation height 1. Effect does not depend on the
presence of border canvas.
See example in attach.
--
Regards,
Karagy
require "cdlua"
require "iuplua"
require "iupluacd"
local debug_width = iup.label{ size = "5
yLabel, fill{}, text{...
And see how to actually behave within the grid boxes.
Regards,
Karagy.
--
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for fr
His problem:
Needed "return iup.IGNORE" for block "if c == iup.K_CR then ... ".
Sorry for subj offtop.
WBR, Karagy.
--
Rapidly troubleshoot problems before they affect your business. Most IT
o
> 3. Left mouse click on free scrollbox's space cause, sometime, realign
> for content like "ADOWN". It's ok?
More precise: content realingned to ABOTTOM when mouse moved under free
space, while left mouse button is pressed.
---
Hi, all.
For example in attach.
1. Setup scrollbox's size greater than the size of it contens. For
example 200 x 200 via valuators max values.
2. Add few buttons.
3. Left mouse click on free scrollbox's space cause, sometime, realign
for content like "ADOWN". It's ok?
For next mouse-wheel's s
Hi all!
It is possible to make subj functionality in future builds?
For example as in firefox tabs.
With best regards,
Karagy.
--
Android is increasing in popularity, but the open development platform that
Hi!
I try to catch for iup.timer action_cb() overlap.
But fail (example in attach).
It's can overlap for same timer?
require "iuplua"
local LIMIT = 1
local MAX_LIMIT = 1000
lbl_lim = iup.label{
rastersize = "200x30",
alignment = "acenter:acenter",
title = LIMIT,
}
val = iup.va
Hi.
I confirm, for both win7 - x32 and x64 - the IupColorBrowser is working
properly.
Best,
Karagy
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore
I want to warn against the removal of the IupGauge.
At least in the docs it is marked as "Deprecated since 3.0, will be
removed in a future version".
On win7 with enabled visual styles, IupProgressBar is noticeably late
showing its values.
With disabled visual styles - all ok.
See my example
send the report as soon as the information will be able to organize.
WBR, Karagy.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP,
Restrictions for PREDRAW_CB:
It is bad idea to change axs_ymax inside this callback while
axs_yautomax == "YES".
It caused incorrect result for iup.PPlotTransform function (by
incorrect margin
ion (it looks horrible for me).
With Best Regards,
Karagy.
>You can set it anywhere you like. But when AXS_XAUTOTICK=Yes then PPlot
> can change the AXS_XTICKFORMAT to better represent the number. The
> documentation was not clear on this, just added the following:
>
> "
Hi, all!
WinXP 32bit
IUP precompiled binaries form sf.net
Versions 3.6 - 3.8.
I can't overload tickformat.
I set the values for AXS_XTICKFORMAT or/and AXS_YTICKFORMAT to "%02x",
"%05i", but axes ticks shown as for default "%0.1f".
I was trying to set attributes in the following locations:
- on
Hi!
System: Windows XP 32 bit.
Bug: fgcolor for iup.progressbar not worked.
See my example in attach.
Tested in IUP 3.6, 3.7, 3.8.
With Best Regards,
Karagy.
require "iuplua"
require "iupluacontrols"
gauge = iup.gauge{
min = 0,
max = 100,
show_text = &
Hi, All!
Tell me, please, how to delete the tab from tabs in iup 3.8?
See my example in attach.
It worked for 3.6 and 3.7.
Any suggestion, comment is appreciated.
With Best Regards,
Karagy.
--[[
Add / Remove tabs example
2012, by Karagy.
Note: it's ok only for tonumbe
57 matches
Mail list logo