Displaying 20 results from an estimated 100 matches similar to: "TEXTFIELD_ENTER_ONLY doesn''t work"
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
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello,
Here''s the context:
I read a number either pure integer or float with eventually up to 12
digits after the decimal point from a YAML file.
The number is injected into a FXTextField with the following code:
@value_sel = FXDataTarget.new(@value.to_s)
@value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel,
:opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT,
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"
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>
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 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
2013 May 15
8
[Bug 64645] New: Massive corruption
https://bugs.freedesktop.org/show_bug.cgi?id=64645
Priority: medium
Bug ID: 64645
Assignee: nouveau at lists.freedesktop.org
Summary: Massive corruption
QA Contact: xorg-team at lists.x.org
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: roucaries.bastien+bugs at gmail.com
2010 Apr 29
24
[Bug 27905] New: DVI monitor is blank - DVI detected as Display Port ?
https://bugs.freedesktop.org/show_bug.cgi?id=27905
Summary: DVI monitor is blank - DVI detected as Display Port ?
Product: xorg
Version: 7.5
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at
2008 May 18
8
FXTable::fitColumnsToContents
On May 17, 2008, at 6:54 AM, David Toll wrote:
> I tried to submit the following message to the "fxruby-users"
> message board (I clicked the link to send it as an email to fxruby-users at rubyforge.org
> , but the message did not appear). I conclude I do not know how to
> submit questions to this message board.
You need to be subscribed to the mailing list before you
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to
select a row and then press the Delete key to delete the selected row.
This does not seem to work, however, as apparently keypresses are not
initially recognized. In my FXTable derived class I have:
connect(SEL_KEYRELEASE) do |sender, selector, event|
puts "code = #{''%X'' %
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
2019 Mar 02
0
[ANNOUNCE] xorg-server 1.19.7
This is a maintenance release for X.Org X Server 1.19 series.
My personal motivation for this release is to fix EXA 24 bpp crash
bug that affects SiS 6326 based graphics card, but there are other
small fixes of the code contributed by other people.
If your OS distribution uses X Server 1.19, please contact the vendor
to let them know that upgraded code is now available.
Kevin Brace
Brace
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
2007 Feb 18
11
Tabulation with ENTER key
Dear all,
I think this can be interesting for others too. For a while I tried to
solve that problem - how to tabulate with ENTER/RETURN key too and not
only with TAB.
You know the problem - you are entering a lot of numbers from numeric
keypad but you need to go far left to press TAB. This prevents one-hand
data entry and prohibits web apps to be used by accountants, for instance.
Here is a
2006 Mar 13
0
Bug with Ajax.Autocompleter in Safari 2.0.3?
Hello All,
I''ve run across something that looks like a bug and wanted to throw
it out there for anyone else''s input before I submit a bug report and
patch. This is only observed in Safari 2.0.3 with Mac OS X 10.4.5 - I
haven''t tried any other versions of Safari.
I''ve got 2 fields:
text input 1
text input 2 with autocomplete
If you:
1. Enter some value
2006 Jan 27
0
RE: [prototype] [BUG] Event.stop doesn''t stop allkeystrokes on some browsers
> a little more digging into this and it appears it''s that different
> browsers
> handle the keypress at different times (from what I can see, there are
3
> events triggered when you press a key, keydown, keypress, and keyup).
I
> changed line 1531 to ''keypress'' from keydown and on all of the
browsers I
> tested (safari, opera, konqueror) it appeared to
2018 Feb 28
0
[ANNOUNCE] xserver 1.20 RC1
This is the first release candidate for xserver 1.20. Notable changes
since 1.19 include:
- RANDR 1.6, which enables leasing RANDR resources to a client for its
exclusive use (e.g. head mounted displays)
- Depth 30 support in glamor and the modesetting driver
- A meson-based build system, parallel to autotools
- Pageflipping support for PRIME output sinks
- OutputClass device matching for
2005 Apr 12
2
FXSettings problem
Hi all.
I tried to subclass FXSettings in order to add some functionality to it
but I ran into the following problem.
The code which shall be executed looks like this:
def test
reg = Registry.new("test.reg")
reg.Parse
end
The Registry class basically looks this way:
require "fox12"
include Fox
class Registry < FXSettings
2010 Mar 17
0
getting text being entered into an FXTable cell
I have an application that uses an FXTable widget, and when the contents
of a cell is being edited, I want to anticipate what the user wishes to
enter (by matching the text with a previous entry), and present that for
completion. (This is similar to how Excel works.) I''ve attempted to do
this by using the FXTable getItem(currentRow, currentColumn).text method
when a SEL_KEYRELEASE
2001 May 09
4
Can compressed music sound better than uncompressed?
I quote from "Principles of Digital Audio" by Ken C. Pohlmann:
"Because perceptual coders tailor the coded signal to the ear's acuity, they
similarly tailor the required response of the playback system itself. Live
music does not pass through amplifiers and loudspeakers, it goes directly to
the ear. But recorded music must pass through the playback signal chain. Much
of the