🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
6 messages
6 total messages Started by Renan Thu, 20 Jul 2006 10:56
focus on a EditBox
#3314
Author: Renan
Date: Thu, 20 Jul 2006 10:56
4 lines
889 bytes
How do I set focus on a EditBox? (for example: I press F2 and the focus is in Edit1.)

Renan
Re: focus on a EditBox
#3315
Author: Alan Bellingham
Date: Thu, 20 Jul 2006 11:25
15 lines
1351 bytes
"Renan" <gulbrrs@gmail.com> wrote:

>How do I set focus on a EditBox? (for example: I press F2 and the focus is in Edit1.)

  HWND SetFocus(
    HWND hWnd   // handle to window to receive focus
  );
 
So just hand this the window handle for the edit box you want to receive
focus. The return value is the handle of the previous window that had
focus.

Alan Bellingham
-- 
ACCU Conference: 11-14 April 2007 - Paramount Oxford Hotel
Re: focus on a EditBox
#3316
Author: Mike Collins
Date: Thu, 20 Jul 2006 12:22
10 lines
1183 bytes
Or even, editbox->SetForcus();


"Renan" <gulbrrs@gmail.com> wrote in message 
news:44bf614b$1@newsgroups.borland.com...
>
> How do I set focus on a EditBox? (for example: I press F2 and the focus is 
> in Edit1.)
>
> Renan 
Re: focus on a EditBox
#3317
Author: Alan Bellingham
Date: Thu, 20 Jul 2006 13:13
11 lines
1198 bytes
"Mike Collins" <its@TheBottomOfThePost.com> wrote:

>Or even, editbox->SetForcus();

What's 'editbox'?

I think you must think this is a VCL group ;-)

Alan Bellingham
-- 
ACCU Conference: 11-14 April 2007 - Paramount Oxford Hotel
Re: focus on a EditBox
#3318
Author: Mike Collins
Date: Thu, 20 Jul 2006 16:32
11 lines
1341 bytes
Hay baby - it's cppbuilder.nativeapi AND he cross posted to 
vcl.components.using

:-)



"Alan Bellingham" <alan@lspace.org> wrote in message 
news:6b0vb2ht04v9f2fggpjmr8rnmu04omtdkp@4ax.com...
> "Mike Collins" <its@TheBottomOfThePost.com> wrote:
>
Re: focus on a EditBox
#3321
Author: ����
Date: Fri, 21 Jul 2006 06:19
6 lines
1049 bytes
where is its F2??

> Or even, editbox->SetForcus();
> > How do I set focus on a EditBox? (for example: I press F2 and the focus
is
> > in Edit1.)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads