Re: Spin button problem

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Frank Hickman (fhickman_nosp_at_m_noblesoft.com)
Date: 05/14/04


Date: Fri, 14 May 2004 02:17:31 -0400

Have you checked the tab order? I believe the spin button attaches to the
"buddy" window previous to it in the tab order. You can also use the
UDM_SETBUDDY message to force it to a particular window.

HTH

-- 
============
Frank Hickman
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
"R.H." <rogerh40NoSpam@mindspring.com> wrote in message
news:%23bkYIMXOEHA.2876@TK2MSFTNGP09.phx.gbl...
> I have 3 edit boxes and a button on a form and then I put a spin button
> on one of the edit boxes.  The spin button attached itself to the button
> instead of two an edit box.  Now, I know that if I delete the edit box
> and the spin button and put them back on the form that it will work
> correctly, but I was wondering if there was a way that I could make the
> spin button attach itself to the correct edit box without doing it by
> deleting the edit box that I already have on the form.
>
> Roger
>

Quantcast