Click here to Skip to main content
16,006,594 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Buttons Pin
Colin Angus Mackay12-Jan-08 1:06
Colin Angus Mackay12-Jan-08 1:06 
GeneralMuliple Forms Pin
dexter970312-Jan-08 0:43
dexter970312-Jan-08 0:43 
GeneralRe: Muliple Forms Pin
Colin Angus Mackay12-Jan-08 1:18
Colin Angus Mackay12-Jan-08 1:18 
Generalselecting from text file Pin
Member 476409411-Jan-08 23:04
Member 476409411-Jan-08 23:04 
GeneralDataReader Pin
danasegaranea11-Jan-08 21:45
danasegaranea11-Jan-08 21:45 
GeneralRe: DataReader Pin
pmarfleet11-Jan-08 22:54
pmarfleet11-Jan-08 22:54 
Generalusing arrow keys to select different pictureboxes Pin
raventatatatata11-Jan-08 20:04
raventatatatata11-Jan-08 20:04 
GeneralRe: using arrow keys to select different pictureboxes Pin
Dave Kreskowiak12-Jan-08 7:06
mveDave Kreskowiak12-Jan-08 7:06 
Look into replacing the Panel with a boardless Form instead. The Panel control never get the input focus so it never fires off keyboard events. Forms do.

The key property of a Form you're looking for is TopLevel. Set it to false and you can treat the Form as a control, just like the Panel. The Form has a KeyPreview property that will let you handle the Form's Key events and control which PictureBox to select.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: using arrow keys to select different pictureboxes Pin
raventatatatata12-Jan-08 16:23
raventatatatata12-Jan-08 16:23 
GeneralRe: using arrow keys to select different pictureboxes Pin
Dave Kreskowiak13-Jan-08 7:25
mveDave Kreskowiak13-Jan-08 7:25 
GeneralRe: using arrow keys to select different pictureboxes Pin
raventatatatata13-Jan-08 23:06
raventatatatata13-Jan-08 23:06 
GeneralRe: using arrow keys to select different pictureboxes Pin
Dave Kreskowiak14-Jan-08 2:00
mveDave Kreskowiak14-Jan-08 2:00 
GeneralInsert, delete & update child table (parent-child relating table) Pin
tellytub11-Jan-08 19:44
tellytub11-Jan-08 19:44 
GeneralRe: Insert, delete & update child table (parent-child relating table) Pin
tellytub11-Jan-08 19:59
tellytub11-Jan-08 19:59 
GeneralParser error Pin
identy11-Jan-08 15:05
identy11-Jan-08 15:05 
GeneralRe: Parser error Pin
Dave Kreskowiak11-Jan-08 16:35
mveDave Kreskowiak11-Jan-08 16:35 
GeneralRe: Parser error Pin
Paul Conrad11-Jan-08 18:39
professionalPaul Conrad11-Jan-08 18:39 
GeneralExecuting an executable in the setup process Pin
xbiplav11-Jan-08 10:55
xbiplav11-Jan-08 10:55 
GeneralRe: Executing an executable in the setup process Pin
Dave Kreskowiak11-Jan-08 11:06
mveDave Kreskowiak11-Jan-08 11:06 
GeneralUsing the Selected value from a combo box in a database update Pin
AAGTHosting11-Jan-08 9:57
AAGTHosting11-Jan-08 9:57 
GeneralRe: Using the Selected value from a combo box in a database update Pin
Dave Kreskowiak11-Jan-08 10:33
mveDave Kreskowiak11-Jan-08 10:33 
GeneralChange Directory Pin
kermit88811-Jan-08 9:57
kermit88811-Jan-08 9:57 
GeneralRe: Change Directory Pin
Dave Kreskowiak11-Jan-08 10:31
mveDave Kreskowiak11-Jan-08 10:31 
GeneralRe: Change Directory Pin
kermit88811-Jan-08 10:42
kermit88811-Jan-08 10:42 
Generalcolor display in grid [modified] Pin
Member 476409411-Jan-08 2:58
Member 476409411-Jan-08 2:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.