#PB_Canvas_DrawFocus should include the #PB_Canvas_Keyboard

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

#PB_Canvas_DrawFocus should include the #PB_Canvas_Keyboard

Post by ts-soft »

#PB_Canvas_DrawFocus without #PB_Canvas_Keyboard is useless, so the keyboard-flag should auto. added.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: #PB_Canvas_DrawFocus should include the #PB_Canvas_Keybo

Post by freak »

done.
quidquid Latine dictum sit altum videtur
User avatar
graph100
Enthusiast
Enthusiast
Posts: 115
Joined: Tue Aug 10, 2010 3:17 pm

Re: #PB_Canvas_DrawFocus should include the #PB_Canvas_Keybo

Post by graph100 »

hey ! You could want to have the keyboard focus without adding the focus drawing !!
I think it was intended like this !!

you can use #PB_Canvas_Keyboard without adding #PB_Canvas_DrawFocus, this is the important part !! not the contrary ! It will ruin some of my work there... It is not a difficult task to let this constant be -_- (or add a constant like the following : #PB_Canvas_DontDrawFocus to use with #PB_Canvas_Keyboard)
_________________________________________________
My Website : CeriseCode (Warning : perpetual changes & not completed ;))
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: #PB_Canvas_DrawFocus should include the #PB_Canvas_Keybo

Post by ts-soft »

graph100 wrote:you can use #PB_Canvas_Keyboard without adding #PB_Canvas_DrawFocus
this is not changed :wink: only the other way!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: #PB_Canvas_DrawFocus should include the #PB_Canvas_Keybo

Post by freak »

If you use #PB_Canvas_DrawFocus (alone) it adds #PB_Canvas_Keyboard. Not the other way around ;)
quidquid Latine dictum sit altum videtur
User avatar
graph100
Enthusiast
Enthusiast
Posts: 115
Joined: Tue Aug 10, 2010 3:17 pm

Re: #PB_Canvas_DrawFocus should include the #PB_Canvas_Keybo

Post by graph100 »

ok :oops: sorry for reacting so straight up ! My English comprehension need some work up...
(anyway, thanks for improving the canvasgadget ; )
_________________________________________________
My Website : CeriseCode (Warning : perpetual changes & not completed ;))
Post Reply