Click here to Skip to main content
15,903,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
Question[System.Reflection.Assembly Instance].GetTypes ReflectionTypeLoadError Pin
Orphius17-Aug-11 6:13
Orphius17-Aug-11 6:13 
QuestionXMLBulkCopy Error in VBScript Pin
priyaahh16-Aug-11 21:24
priyaahh16-Aug-11 21:24 
AnswerRe: XMLBulkCopy Error in VBScript Pin
Simon_Whale17-Aug-11 1:17
Simon_Whale17-Aug-11 1:17 
Questiongive me a suggestion Pin
satc16-Aug-11 6:56
satc16-Aug-11 6:56 
AnswerRe: give me a suggestion Pin
Dave Kreskowiak16-Aug-11 11:11
mveDave Kreskowiak16-Aug-11 11:11 
GeneralRe: give me a suggestion Pin
satc16-Aug-11 13:22
satc16-Aug-11 13:22 
GeneralRe: give me a suggestion Pin
Dave Kreskowiak16-Aug-11 17:59
mveDave Kreskowiak16-Aug-11 17:59 
GeneralRe: give me a suggestion Pin
satc19-Aug-11 7:39
satc19-Aug-11 7:39 

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.