From: Phil Hunt on 9 Feb 2010 15:24 Image control comes with Click event. I suspect this unintended use is guite widespread "David Kaye" <sfdavidkaye2(a)yahoo.com> wrote in message news:hkscij$vm8$1(a)news.eternal-september.org... > "Phil Hunt" <aaa(a)aaa.com> wrote: >>I have a image box I use as a command button, because I can easily stretch >>it. It works well except it provides no visual clue on clicking. Does >>anyone >>have suggestion ? Thanks > > The more you use controls for unintended functions the more confusing they > become to users. I'd stick with using command buttons if you're going to > show > visual cues. >
From: MikeD on 9 Feb 2010 15:27 Didn't see that coming. <g> (that was intended as extreme sarcasm) And Phil, please follow the posting convention that was established by the reply. Karl bottom-posted. You should have too. -- Mike "Phil Hunt" <aaa(a)aaa.com> wrote in message news:OPzuV2bqKHA.6140(a)TK2MSFTNGP05.phx.gbl... > How do I flip it ? > > > "Karl E. Peterson" <karl(a)exmvps.org> wrote in message > news:O6HtZbbqKHA.1936(a)TK2MSFTNGP06.phx.gbl... >> Phil Hunt wrote: >>> I have a image box I use as a command button, because I can easily >>> stretch it. It works well except it provides no visual clue on clicking. >>> Does anyone have suggestion ? Thanks >> >> Flip images on MouseDown/MouseUp. >>
From: Nobody on 9 Feb 2010 15:29 "Phil Hunt" <aaa(a)aaa.com> wrote in message news:uyw8CZbqKHA.4600(a)TK2MSFTNGP02.phx.gbl... >I have a image box I use as a command button, because I can easily stretch >it. It works well except it provides no visual clue on clicking. Does >anyone have suggestion ? Thanks DrawFocusRect()
From: MikeD on 9 Feb 2010 15:39 "David Kaye" <sfdavidkaye2(a)yahoo.com> wrote in message news:hkscij$vm8$1(a)news.eternal-september.org... > "Phil Hunt" <aaa(a)aaa.com> wrote: >>I have a image box I use as a command button, because I can easily stretch >>it. It works well except it provides no visual clue on clicking. Does >>anyone >>have suggestion ? Thanks > > The more you use controls for unintended functions the more confusing they > become to users. I'd stick with using command buttons if you're going to > show > visual cues. > The programmer just has to do more work to make them look "standard" (or at least make their purpose/function obvious) to the user, which is what Phil is apparently trying to do. But I do agree that programmers sometimes try to get too cute with the UI, and it's usually better to adhere to UI standards rather than be cutesy. Sure, you want your app to look good, but not at the expense of being intuitive and functional, which IMO is far more important than appearance. -- Mike
From: MikeD on 9 Feb 2010 15:51 Pretty much ANY control that's not invisible at runtime has a Click event. That doesn't mean you should use Image controls in place of checkboxes or option buttons or any other control as a rule. David's point has merit. And no, I personally don't think using an Image control or PictureBox as a substitute for a command button is widespread. Has it been done and can you do it? Sure. But keep in mind that if you want this Image control to mimic a command button, you're probably not going to be able to do it precisely. That's not to say you can't do it to your satisfaction. -- Mike "Phil Hunt" <aaa(a)aaa.com> wrote in message news:#8P8pXcqKHA.4236(a)TK2MSFTNGP02.phx.gbl... > Image control comes with Click event. I suspect this unintended use is > guite widespread > > > "David Kaye" <sfdavidkaye2(a)yahoo.com> wrote in message > news:hkscij$vm8$1(a)news.eternal-september.org... >> "Phil Hunt" <aaa(a)aaa.com> wrote: >>>I have a image box I use as a command button, because I can easily >>>stretch >>>it. It works well except it provides no visual clue on clicking. Does >>>anyone >>>have suggestion ? Thanks >> >> The more you use controls for unintended functions the more confusing >> they >> become to users. I'd stick with using command buttons if you're going to >> show >> visual cues. >> > >
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: ADSI in VB6 on WinPE1.2 to 3.0 Next: Dependency File out of date |