02fig04

02fig04



Proc: |CłlMoveDemo



P r ivate S ub C11MoveDemo() | Select Case Motion Case 1

1 Move the graphic left and up by 20 twips using the Move method. picBall.Hove picBall.Left - 20, picBall.Top - 20

1 If the graphic reaches the left edge of the form, move it to the r If picBall.Left <= 0 Then Motion = 2

1 If the graphic reaches the top edge of the form, move it to the le Elself picBall.Top <= 0 Then Motion = 4 End If

Case 2

1 Move the graphic right and up by 20 twips. picBall.Hove picBall.Left + 20, picBall.Top - 20

1 If the graphic reaches the right edge of the form, move it to the 1 Routine deterrnines the right edge of the form by subtracting the ę 1 width front the form width.

If picBall.Left >= (DemoForm.Midth - picBall.Uidth) Then Motion = 1

1 If the graphic reaches the top edge of the form, move it to the ri Elself picBall.Top <= 0 Then Motion = 3 End If

Case 3



Wyszukiwarka

Podobne podstrony:
e5 © Work in pairs. Select information from one of the bar charts and prepare a presentation of past
28 (209) 74 Cbapter 2 selected and the procedurę is repeated. In the first case, however, the b
Image72 (2) Projekty AVT Projekty AVT Listing 1 Start- pętla główna Select Case
[instrukcje] ] ... [Case Elsę wartość [instrukcje] ] End Select Przykład: Select Case Hour(Now) Case
Gibson, William Neuromancer?ck CASE WAS THE BEST INTERFACE COWBOY WHO EVER RAN IN EARTH S COM
Artide 16 1.    In the case of the applications for marketing authorisation refe
Backiel T., Penczak T. 1989. The fish and fisheries in the Vistula River and its tributary, the Pili
Przysławski Nowak J.: Assessing the intake of selected nutrients from food rations of menopausal wom
portfolio settings metabox Portfolio Settings Fili in the project details and select the type of por
20ddg19 H Using a Combo Box to Select Related Remote Records Around the Horn Nl 4 1 Customers
36vbu03 File Edit HelpAbout Best Team Selector Delele f” Available for New P Title First Name Create
9 This is particularly the case in the morę aenescent species which are with difficulty separated fr
tape to move without winding on the takeup reel, and optional selective synchronization for multicha

więcej podobnych podstron