Displaying 13 results from an estimated 13 matches similar to: "FXTextField and number of digits after decimal point"
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all,
Run groupbox.rb example in any of the two alpha versions and
click the radiobutton in the upper right group box (those named Hilvesum 1,
Hilversum 2, etc). You''ll notice that once a radiobutton is checked,
it remains checked when some other radiobutton is checked.
What''s the reason?
Thank you.
--
Best regards,
Yuri Leikind
2008 Sep 06
0
Tab control using FXRuby
In the sample program below I have a form of 6 text fields, in a scrolling
window, followed by a row of function buttons.
Problems:
1) For data entry purposes I''d like the function buttons NOT to be entered
by pressing Tab keys, and retain their ''clickability'', but when the user
Tab''s out of the last scrolling field (postcode) to have the form scroll to
the
2010 Aug 17
2
SEL_UPDATE not responsive
I have read what I could about SEL_UPDATE and I understand that the block(s) that get called "from" SEL_UPDATE only get called when "there is no more work to do".
I took the splitter.rb example that comes with FXRuby. I put in a "puts" in one of the SEL_UPDATE blocks and I get about 4 a second. Not awful ... but ... why is it so slow?
In my code which is ... more
2011 Feb 04
1
Easy help with plots, font size
I am trying to make some plots for a poster. Each one needs to be 6 inches by
inches. Right now the fonts are too small and the plots don't read well on
my poster. I am pretty much an R newbie and I can't figure out how to change
the fonts. It would also be nice to know how to specify the size of the plot
and maybe how to save the plots as jpeg files. Any help would be much
appreciated! I
2010 Jul 28
6
FXTextField.connect(SEL_CHANGED)
When I do an assignment to the text in a FXTextField, SEL_CHANGED is not raised.
The text is changed on the screen.
How do I detect that the text has been changed and/or ... how do I raise SEL_CHANGED?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100728/e0d169e5/attachment.html>
2008 Jul 02
2
FXTextField and text alignment
Hi,
When the text inside an FXTextField is larger that the available space,
the FXTextField apparently "switches" from left alignment to right
aligment: you only see the end of the text. When the text is smaller
than the available space, text is aligned on the left.
Is there a way to change that, and have left alignment all the time?
I''ve been trying a few things, like
2006 May 15
3
FXTextField - posSelected?(pos)
Hi,
I wonder if am facing a bug or something else
On a FXtextField, I want to detect the low and high pos of the selected string
example: the text is: 0123456789
The selected string is : 234567
first = last = -1
atext.text.length.times do |pos|
first = pos if atext.posSelected?(pos) and first < 0
last = pos if atext.posSelected?(pos)
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi,
I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6.
I''ve noticed something strange when copying-pasting things between
FXTable cells, and FXTextfields.
----------------------------------------------
1) When copying the content of an FXTextfield, and pasting it into an
FXTable cell, everything works fine.
2) When selecting an FXTable cell, issuing a "copy"
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
Hi Lyle,
I noticed that when creating a FXTextField with TEXTFIELD_ENTER_ONLY it
still sends messages
to its target when other keys than KEY_Return are pressed.
I usually create a textfield this way:
textfield = FXTextField.new(self, 50, self, ID_INPUT, TEXTFIELD_ENTER_ONLY)
textfield.setText(aStr)
textfield.setFocus
textfield.move(x, y, w, h)
textfield.show
This way only the enter key should
2004 May 23
7
[Bug 872] SSH client fails for non-root users with "Host key verification failed"
http://bugzilla.mindrot.org/show_bug.cgi?id=872
Summary: SSH client fails for non-root users with "Host key
verification failed"
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: ssh
2006 Apr 10
1
Display an arrow, or transparent image colors
I want to display an arrow in the user interface between 2 GUI Components.
I think I know how I can do it, but I ran into a problem displaying
pixel images with transparent background. I describe this image display
problem here and ask for advice. but if someone knows of a different and
easier way to display arrows, please tell me.
Example Problem: I want a FXHorizontalFrame to contain, from
2008 May 06
1
Wrap text inside an FXTable cell?
Hi,
Is it possible to wrap text inside an FXTable cell, just like it is
possible with an FXText object? I''d like to display and edit multi-line
text inside an FXTable cell.
Thanks!
Philippe
2004 Jul 22
0
Re: FXRuby and Threads (was: radiobuttons are weird in 1.2.x series)
*********** REPLY SEPARATOR ***********
On 22/07/2004 at 14:01 lyle@knology.net wrote:
>On Thu, 22 Jul 2004 14:47:47 +0100, "Bil" <bil.bas@virgin.net> wrote :
>
>> Err, well it does work, though it does not require the background thread
>to run very fast at all. The application is a prototype of a board-game
>engine. The server is a regular threaded Ruby