![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I've got a program with a bunch of images on which can be clicked. All subs have the same structure with just one difference: the name of the image. Can this be reduced to ONE sub in which the Sender-feature is used? example: Code:
Sub Img1_Click 'img2_click, img3_click etc
If Deck(SuitNr) = 0 Then
CheckCard
img1.Image = Cards.RetrieveImage 'img2, img3 etc
If CardNr = Target Then
frmCards.Close
ShowCards
End If
End If
End Sub
Marc |
|
||||
|
This tutorial should also be helpful: Runtime controls manipulation
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "AddEvent" and "buttonUp/buttonDown" | Byak@ | Questions & Help Needed | 12 | 09-10-2008 04:04 PM |
| Is there any thing like Visual Basic "Tabbed dialog control" in Basic4ppc? | mozaharul | Questions & Help Needed | 6 | 03-23-2008 12:07 PM |
| Icon / Image in a Table to "Click" on | burd27 | Questions & Help Needed | 2 | 03-16-2008 04:04 AM |
| Image Button kommt nicht wieder "hoch" | troll | German Forum | 3 | 02-22-2008 10:03 AM |
| calling the device's "Programs" or "settings" screens | HarleyM | Questions & Help Needed | 0 | 12-05-2007 03:59 AM |