Displaying 20 results from an estimated 36 matches for "setfocus".
Did you mean:
getfocus
2008 May 26
0
setfocus to a field in view
Hi
I have a div "reason_for_transfer_search_sd" like
<div id="reason_for_transfer_search_sd" >
<%= render :partial =>
"service_desk_part/on_action_transfer_reason_sd_search", :locals => {
:sd_ticket=>sd_ticket } %>
</div>
And in on_action_transfer_reason_sd_search
<%= text_area_tag "transfer_reason", nil, :size =>
2008 May 07
1
Change Focus of Radio Button
...to do this... i hope i have assumed wrong!
I need to change the focus of a radio button... I currently use this
code to call focus to the first form element... i tried to reuse it to
do radio buttons with no success
------------------------------------------------------------------------
function setfocus(a_field_id) {
$(a_field_id).focus()
}
window.onload=function() {
setfocus(''email'')
}
------------------------------------------------------------------------
any help would be appreciated
Joe
--~--~---------~--~----~------------~-------~--~----~
You received this messa...
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...ew(mainFrame, " Go method 2")
goButton2.connect(SEL_COMMAND) { fillTable2 }
end
# fails after 2 to 15-20 iterations
def fillTable
@table.setTableSize(TABLE_SIZE, 1)
(0...TABLE_SIZE).each do |r|
@table.setItemText(r, 0, "#{r}")
end
@table.setFocus
end
# seems to require more iterations, but still fails
def fillTable2
@table.setTableSize(0, 1)
(0...TABLE_SIZE).each do |r|
@table.insertRows(r)
@table.setItemText(r, 0, "#{r}")
end
@table.setFocus
end
def create
super
show(PL...
2008 Sep 06
0
Tab control using FXRuby
...;', but when the user
Tab''s out of the last scrolling field (postcode) to have the form scroll to
the top and the cursor positioned in the first field to accept a new set of
data.
The scrolling works, but the focus moves to the first Button and not the
field even tho I have a explicit setFocus. I dont want the Buttons ''hidden''
just not tabbable -- is this possible?
2) if no data is entered into a field prior to a Tab press, the scroller
does not scroll the form at all, the cursor moves to next field OK, but I
never get to see the off scrollwindow fields. If I enter so...
2009 Feb 20
2
OLEDB not work !
Hi everybody
I have a program , it work good under window98 / 2000 /xp .
It use oledb (client supported by mdac2.7 or later version) direct link MS SQL Server 2000 .
with wine it do not work. I set up mdac 2.8 sp1 , no change
by google , i found too many program can not work (oledb not support)
can anybody help me ?
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
...ticed 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 send the message
SEL_KEYPRESSED/SEL_KEYRELEASED with
ID_INPUT to the target. But that somehow doesn''t work.
Regards,
Jannis
2009 Apr 06
1
Need Help with StatET Error/Bug? on Ubuntu 8.10 amd64
...clipse.swt.internal.gtk.OS.gtk_widget_grab_focus(OS.java:9106)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2107)
at org.eclipse.swt.widgets.Composite.forceFocus(Composite.java:494)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2101)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:3646)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1254)
at
org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:656)
at org.eclipse.swt.widgets.Canvas.gtk_button_press_event(Canvas.java:155)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.jav...
2007 Aug 24
2
setting the font in FXText
...DONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y)
@fxtext.font = FXFont.new(getApp(), "courier", 8)
# Ok button
ok = FXButton.new(button, "OK", nil, self, ID_CANCEL,
FRAME_RAISED|FRAME_THICK|LAYOUT_CENTER_X|LAYOUT_CENTER_Y|LAYOUT_FILL_X)
ok.setDefault
ok.setFocus
end
end
However, when I add the following method to FXTextDialog and call it I
get a Seg Fault!:
def set_font()
@fxtext.font = FXFont.new(getApp(), "courier", 8)
end
Usage in my application:
def onTableHex(sender, sel, ptr)
@dialog = FXTextDialog.new(self)
@dialog.s...
2001 Mar 01
1
Fw: Winamp plug-in; http streaming revisited
what the heck... i sent this one before the last 'whoops' email, but it
didn't appear on the list.
forwarded sans httpstream.c
----- Original Message -----
From: "Chris Moeller" <chris@kode54.net>
To: <vorbis-dev@xiph.org>
Sent: Wed, Feb 28, 01 11:38 PM
Subject: Re: [vorbis-dev] Winamp plug-in; http streaming revisited
> ----- Original Message -----
>
2009 Apr 02
0
wine 1.0 under Kubuntu HH 8.04 with Google SketchUp 7
...fe() in user32 (0x0032e320)
7 0x7ed841a1 in user32 (+0xb41a1) (0x0032e360)
8 0x7ed45a4a in user32 (+0x75a4a) (0x0032e3d0)
9 0x7ed48cfd in user32 (+0x78cfd) (0x0032e430)
10 0x7ed4916a SendMessageW+0x4a() in user32 (0x0032e470)
11 0x7ed2556d in user32 (+0x5556d) (0x0032e550)
12 0x7ed25785 SetFocus+0x195() in user32 (0x0032e590)
13 0x7ed4f0bc in user32 (+0x7f0bc) (0x0032f080)
14 0x7ed7d73a WINPROC_wrapper+0x1a() in user32 (0x0032f0b0)
15 0x7ed7f578 in user32 (+0xaf578) (0x0032f0f0)
16 0x7ed83f33 in user32 (+0xb3f33) (0x0032f130)
17 0x7ed0a517 DefDlgProcW+0x87() in user32 (0x0032f160...
2009 Apr 02
1
wine 1.0 with google sketchup 7 pro
...fe() in user32 (0x0032e320)
7 0x7ed841a1 in user32 (+0xb41a1) (0x0032e360)
8 0x7ed45a4a in user32 (+0x75a4a) (0x0032e3d0)
9 0x7ed48cfd in user32 (+0x78cfd) (0x0032e430)
10 0x7ed4916a SendMessageW+0x4a() in user32 (0x0032e470)
11 0x7ed2556d in user32 (+0x5556d) (0x0032e550)
12 0x7ed25785 SetFocus+0x195() in user32 (0x0032e590)
13 0x7ed4f0bc in user32 (+0x7f0bc) (0x0032f080)
14 0x7ed7d73a WINPROC_wrapper+0x1a() in user32 (0x0032f0b0)
15 0x7ed7f578 in user32 (+0xaf578) (0x0032f0f0)
16 0x7ed83f33 in user32 (+0xb3f33) (0x0032f130)
17 0x7ed0a517 DefDlgProcW+0x87() in user32 (0x0032f160...
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become
current when they receive a mouse click, but only do so if the click
happens inside of an enabled widget. This may very well be correct, but
if so then what is the right way to handle it, if you want a more
familiar window-manager behavior (click to focus)?
For example, if you change the mditest.rb example like so...
---
2007 Mar 19
1
Wine page fault with ARRL Antenna Book ABSETUP.EXE
...6 0x7ed88e4a CallWindowProcW+0xaa() in user32 (0x0034e378)
7 0x7ed50b20 in user32 (+0x70b20) (0x0034e3e8)
8 0x7ed55212 SendMessageTimeoutW+0x1a2() in user32 (0x0034e458)
9 0x7ed5527c SendMessageW+0x4c() in user32 (0x0034e498)
10 0x7ed320c9 in user32 (+0x520c9) (0x0034e568)
11 0x7ed32369 SetFocus+0x199() in user32 (0x0034e5a8)
12 0x7ed1edba in user32 (+0x3edba) (0x0034e728)
13 0x7ed20646 DialogBoxIndirectParamAorW+0x46() in user32 (0x0034e748)
14 0x7ed20702 DialogBoxIndirectParamA+0x42() in user32 (0x0034e778)
15 0x004445bc in fimain (+0x445bc) (0x0034e7a4)
16 0x00441e82 in fimain...
2007 Mar 19
3
"Horn Loudspeaker Response Analysis Program" mit Wine, geht das doch?
...)
27 0x7eee1d8f CallWindowProcW+0xda in user32 (0x7d777b38)
28 0x7eeabe36 in user32 (+0x6be36) (0x7d777ba8)
29 0x7eeaf69a SendMessageTimeoutW+0x191 in user32 (0x7d777c08)
30 0x7eeaf6f9 SendMessageW+0x50 in user32 (0x7d777c48)
31 0x7ee8d980 in user32 (+0x4d980) (0x7d777ce8)
32 0x7ee8e24d SetFocus+0x135 in user32 (0x7d777d28)
33 0x7ee58b68 SetFocus16+0x26 in user32 (0x7d777d38)
34 0x7ee4e29c in user32 (+0xe29c) (0x7d777d48)
35 0x7b8956a6 in kernel32 (+0x756a6) (0x7d777d78)
36 0x1487:0x0979 (0x11f7:0x6c76)
37 0x1307:0x3182 (0x11f7:0x6c88)
38 0x1307:0x0a51 (0x11f7:0x6ce0)
39 0x13...
2011 Apr 17
7
possibly an inter-process comm problem
I have been running a program with Wine for over a year. With its version 3 there has been basically no problem. Lately, the program is upgraded to version 4 and it crashes with Wine. I tried to print out debug messages but can't seem to get any clue about what is wrong. While I was testing with the debug messages, an interesting thing I found is that if I run it with the following debug
2012 Jan 13
0
Wine release 1.3.37
...o_get_ulong in vtable.
Detlef Riekenberg (2):
shell32: Remove outdated dll names from comments.
shell32: Reorder functions to avoid forward declarations.
Diego Nieto Cid (1):
wined3d: Convert rtInternal and glGammaInternal.
Dmitry Timoshkov (4):
user32: Add some tests for SetFocus/SetActiveWindow called on invalid or belonging to another thread windows.
user32: Add an invalid window check to SetFocus.
user32: Add an invalid window check to SetActiveWindow.
msvcrt: Add some tests for strftime/wcsftime.
Eric Pouech (4):
winedbg: In x86_64 backend, now...
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
2013 Dec 20
0
Wine release 1.7.9
...variable only on process attach.
qcap: Added CLSID_AVICo stub implementation.
Jonathan Liu (2):
winebuild: Use correct PATH separator on Windows.
winebuild: Don't crash when dlltool or ar can't be found.
Ken Thomases (9):
winemac: Don't change window order for SetFocus().
winemac: Consolidate the logic for deciding if cursor clipping should be active.
winemac: While a window is being dragged, suppress mouse events and disable cursor clipping and warping.
winemac: Send WM_{ENTER, EXIT}SIZEMOVE before/after window dragging and run an internal even...
2001 Feb 14
0
Wine Weekly News #82 (2001 Week 07)
...dit controls.
At one point it flips from the first to the second (after you have
entered the fourth character).
This is done by a function, which does (simplified) this:
{
DWORD startsel,endsel;
PostMessageA(hwnd1,EM_GETSEL,&startsel,&endsel);
SetFocus(hwnd2);
PostMessageA(hwnd2,EM_SETSEL,0,0);
/* ... */
CallWindowProcA(hwnd,....);
return;
}
According to the +relay,+edit trace the EM_GETSEL is executed way
_AFTER_ the return from the function, so, since it uses
stackvalues, it then smashes the...
2001 Feb 14
0
Wine Weekly News #82 (2001 Week 07)
...dit controls.
At one point it flips from the first to the second (after you have
entered the fourth character).
This is done by a function, which does (simplified) this:
{
DWORD startsel,endsel;
PostMessageA(hwnd1,EM_GETSEL,&startsel,&endsel);
SetFocus(hwnd2);
PostMessageA(hwnd2,EM_SETSEL,0,0);
/* ... */
CallWindowProcA(hwnd,....);
return;
}
According to the +relay,+edit trace the EM_GETSEL is executed way
_AFTER_ the return from the function, so, since it uses
stackvalues, it then smashes the...