473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

XP style Menu

Hey Group,

I was just wondering if anybody has ever used the XP style Manu from
http://www.vbaccelerator.com/home/NE...ar/article.asp

Im just a little confused trying to use this, it says that it users the
itemlick event to respond to the Button been pressed, but as im new and
probably a little thick, could somebody please explain how i would use this
command, and what i would need to put in the command line?

Thanks for any help in advance

Regards
Si
Nov 20 '05 #1
6 943
"One Handed Man [ OHM# ]" <OneHandedMan@&REMOVE&TO%MAIL%MEBTInternet.com>
schrieb
hey,
I never heard of the 'itemlick' event. LOL
the itemlick event to respond to the Button been pressed, but as im


;-)


*ROTFLOL*
--
Armin

Nov 20 '05 #2
What is ROTFLOL?

"Armin Zingler" <az*******@freenet.de> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
"One Handed Man [ OHM# ]" <OneHandedMan@&REMOVE&TO%MAIL%MEBTInternet.com>
schrieb
hey,
I never heard of the 'itemlick' event. LOL
the itemlick event to respond to the Button been pressed, but as im


;-)


*ROTFLOL*
--
Armin

Nov 20 '05 #3
"Newbie!" <s_************@yahoo.co.uk> schrieb
What is ROTFLOL?


rolling on the floor laughing out loudly

but I've seen other abbreviations, too
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
Cor
Hi Newbie

I once made an example with a dynamic checkbox array, it handles two kind of
events (dynamicly and made by the designer), maybe you can try it.

\\\
Private myCheckbox(10) As CheckBox
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
'you need for this to drag a groupbox1
'and a button on the form
Dim start As Integer = 4
Dim top As Integer = 18
Dim i As Integer
For i = 1 To 10
myCheckbox(i) = New CheckBox
myCheckbox(i).TextAlign = ContentAlignment.MiddleCenter
myCheckbox(i).Width = 40
myCheckbox(i).Height = 20
myCheckbox(i).Location = New System.Drawing.Point(start, top)
myCheckbox(i).Text = i.ToString
myCheckbox(i).Cursor = Cursors.Hand
Me.GroupBox1.Controls.Add(myCheckbox(i))
AddHandler myCheckbox(i).Click, AddressOf myCheckBox_Click
start = start + 40
If i = 5 Then
top = top + 20
start = 4
End If
Next
End Sub
Private Sub myCheckBox_Click _
(ByVal sender As Object, ByVal e As System.EventArgs)
Dim chk As CheckBox
chk = DirectCast(sender, CheckBox)
Dim i As String = chk.Text
End Sub
Private Sub Button1_Click _
(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles Button1.Click
Dim a As New System.Text.StringBuilder
a.Remove(0, a.Length)
Dim i As Integer
For i = 1 To 10
If myCheckbox(i).Checked Then
a.Append(i.ToString)
End If
Next
MessageBox.Show(a.ToString)
End Sub
///
I hope this helps a little bit?

Cor
Nov 20 '05 #5
hey,
I never heard of the 'itemlick' event. LOL
the itemlick event to respond to the Button been pressed, but as im
;-)

Regards - OHM#

-------------------------------------
Newbie! wrote: Hey Group,

I was just wondering if anybody has ever used the XP style Manu from
http://www.vbaccelerator.com/home/NE...ar/article.asp
Im just a little confused trying to use this, it says that it users
the itemlick event to respond to the Button been pressed, but as im
new and probably a little thick, could somebody please explain how i
would use this command, and what i would need to put in the command
line?

Thanks for any help in advance

Regards
Si


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #6
* "Armin Zingler" <az*******@freenet.de> scripsit:
What is ROTFLOL?


rolling on the floor laughing out loudly

but I've seen other abbreviations, too


.... or other meanings of this abbreviation.

;-)))

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nairb | last post by:
Just learning here, so maybe I'm way off, but... I was originally under the impression that css style properties could be accessed/ listed since they exsisted as an array somewhere. Is this just...
2
by: Michel | last post by:
I like to have a small menu where the <a> items have a blue background on hover like normal window-menu's. Like this: <tr onmouseover="style.background='#0000ff';"...
3
by: T | last post by:
I am attempting to create a menu using <div> and <span> tags within a table cell. When the page loads, some of the classes don't seem to be applied. If I hover over the menu everything is fine...
7
by: Sandman | last post by:
I have a script that generates a hierarchical menu, but I am having problems assigning styles to each manu items different possible states. The possible states a menu item can be in is (and all of...
1
by: Robert Bull | last post by:
I am creating a menu with the ComponentOne tools that come with the ..Net resource kit. I am trying to apply a style sheet to the controls of the menu but I dont know how. Do I need to add a new...
2
by: Raed Sawalha | last post by:
I have the following table in ascx , when I click the button the table style not showing in the popup , it is ONLY showing on the page not in the popup...WHY? <TABLE style="BACKGROUND:...
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
2
by: cj | last post by:
How can I make the mainmenu look more like a bar? I think it needs the line below it or border or something. It just looks like a row of words at the top of the form--indistinguishable from other...
6
by: rongchaua | last post by:
Hi all, I want to change the style of a button. But I don't know how to do it. For example, I have already a button OK on form. I want to add these styles to this button (WS_CHILD || WS_VISIBLE ||...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.