Click here to Skip to main content
16,003,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiona question for typed dataset Pin
dcode2521-Aug-11 5:50
dcode2521-Aug-11 5:50 
AnswerRe: a question for typed dataset Pin
Simon_Whale21-Aug-11 23:09
Simon_Whale21-Aug-11 23:09 
AnswerRe: a question for typed dataset Pin
Dave Kreskowiak22-Aug-11 2:01
mveDave Kreskowiak22-Aug-11 2:01 
GeneralRe: a question for typed dataset Pin
dcode2522-Aug-11 11:25
dcode2522-Aug-11 11:25 
GeneralRe: a question for typed dataset Pin
Dave Kreskowiak22-Aug-11 14:26
mveDave Kreskowiak22-Aug-11 14:26 
AnswerRe: a question for typed dataset Pin
Member 109600425-Aug-11 1:35
Member 109600425-Aug-11 1:35 
Questionlock program Pin
hoorandsoft20-Aug-11 10:09
hoorandsoft20-Aug-11 10:09 
AnswerRe: lock program Pin
Richard MacCutchan20-Aug-11 23:42
mveRichard MacCutchan20-Aug-11 23:42 
QuestionLicense Management Pin
Anty50619-Aug-11 17:16
Anty50619-Aug-11 17:16 
AnswerRe: License Management Pin
Simon_Whale21-Aug-11 23:19
Simon_Whale21-Aug-11 23:19 
Questionplz brack my licence Pin
saqibali211918-Aug-11 8:10
saqibali211918-Aug-11 8:10 
AnswerRe: plz brack my licence Pin
Bert Mitton18-Aug-11 15:37
professionalBert Mitton18-Aug-11 15:37 
AnswerRe: plz brack my licence Pin
Dave Kreskowiak19-Aug-11 1:59
mveDave Kreskowiak19-Aug-11 1:59 
QuestionDSN over LAN using MS ACCESS and VB 6.0 Pin
Eyo118-Aug-11 2:16
Eyo118-Aug-11 2:16 
AnswerRe: DSN over LAN using MS ACCESS and VB 6.0 Pin
Dave Kreskowiak18-Aug-11 3:12
mveDave Kreskowiak18-Aug-11 3:12 
QuestionHow to scroll without a scrollbar or make scrollbar invisible Pin
TOM JOHN LITTLE17-Aug-11 22:44
TOM JOHN LITTLE17-Aug-11 22:44 
Hello !
Please tell me how can I scroll a panel without a scrollbar or make scrollbar invisible

VB
Panel_coord_x.AutoScroll = True
 Panel_coord_x.VerticalScroll.Visible = False
 Panel_coord_x.VerticalScroll.Enabled = False
 Panel_coord_x.HorizontalScroll.Visible = False
 Panel_coord_x.HorizontalScroll.Enabled = False



the above code not working.
In my form I have a main scrollable panel and 2 small panels representing the screen coorinates. When I scroll the main panel,the other 2 panel must scroll also :

VB
If (e.ScrollOrientation = ScrollOrientation.VerticalScroll) Then
    Panel1.VerticalScroll.Value = e.NewValue
    Panel_coord_y.VerticalScroll.Value = e.NewValue
Else
    Panel1.HorizontalScroll.Value = e.NewValue
    Panel_coord_x.HorizontalScroll.Value = e.NewValue
End If


This is working fine except : I can't hide the vertical and the horizontal scroll bars for the second 2 panels.


Panel_coord_x.HorizontalScroll.Visible = False

and
Panel_coord_x.AutoScrollMinSize = New Size(0, 0)

does nothing.

Thank You !
AnswerRe: How to scroll without a scrollbar or make scrollbar invisible Pin
Dave Kreskowiak18-Aug-11 1:41
mveDave Kreskowiak18-Aug-11 1:41 
GeneralRe: How to scroll without a scrollbar or make scrollbar invisible Pin
Bert Mitton18-Aug-11 3:21
professionalBert Mitton18-Aug-11 3:21 
Question2D Map Editor in VB 2010 Pin
TOM JOHN LITTLE17-Aug-11 13:56
TOM JOHN LITTLE17-Aug-11 13:56 
AnswerRe: 2D Map Editor in VB 2010 Pin
Luc Pattyn17-Aug-11 14:18
sitebuilderLuc Pattyn17-Aug-11 14:18 
GeneralRe: 2D Map Editor in VB 2010 Pin
TOM JOHN LITTLE17-Aug-11 14:42
TOM JOHN LITTLE17-Aug-11 14:42 
AnswerRe: 2D Map Editor in VB 2010 Pin
Luc Pattyn17-Aug-11 15:09
sitebuilderLuc Pattyn17-Aug-11 15:09 
QuestionWindows service Error Pin
oakleaf17-Aug-11 10:27
oakleaf17-Aug-11 10:27 
AnswerRe: Windows service Error Pin
Dave Kreskowiak17-Aug-11 14:33
mveDave Kreskowiak17-Aug-11 14:33 
GeneralRe: Windows service Error Pin
oakleaf18-Aug-11 4:24
oakleaf18-Aug-11 4:24 

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.