Notifications Window Object In Powerbuilder
Notifications Objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
forward global type nvo_notifications from timing end type type rect from structure within nvo_notifications end type type appbardata from structure within nvo_notifications end type end forward type rect from structure long Left long Top long Right long Bottom end type type appbardata from structure long cbSize long hwnd long uCallbackMessage long uEdge rect rc long lparam end type global type nvo_notifications from timing end type global nvo_notifications nvo_notifications type prototypes Function Long SHAppBarMessage (Long dwMessage, Ref APPBARDATA pdata) Library "shell32.dll" Alias For "SHAppBarMessage;Ansi" end prototypes type variables Private: w_notifications iw // the window to glide in Long il_Margin = 100 // The margin of the (side of the ) glide-in window with the screen border Integer ii_mode // is the window moving in or out /* RESTARTING*/ String is_restartmsg = "" Integer ii_restartSpeed = 10 Boolean ib_Restart = False /* moving out*/ Long il_outfinalX // the final X pos of the window Long il_outfinalY // The final Y pos of the window Integer ii_direction // the direction to move into /* moving in */ Long il_infinalx // X POS WHEN HIDING THE WINDOW Long il_infinaly // Y POS WHEN HIDING THE WINDOW Public: Integer ii_Stepsize = 10 Constant Integer MOVEDOWN = 1 Constant Integer MOVELEFT = 2 Constant Integer MOVEUP = 3 Constant Integer MOVERIGHT = 4 Constant Integer VERYSLOW = 5 Constant Integer SLOW = 10 Constant Integer NORMAL = 20 Constant Integer FAST = 30 Constant Integer VERYFAST = 40 Constant Integer MODEIN = 1 Constant Integer MODEOUT = 2 Constant Integer Top = 1 Constant Integer Right = 2 Constant Integer BOTTOM = 3 Constant Integer Left = 4 end variables forward prototypes public function integer of_glideout (string as_msg, integer ai_speed) protected function integer of_stop () public function integer of_glidein () public function integer of_gettaskbardimensions (ref long al_height, ref long al_width, ref long al_xpos, ref long al_ypos) public function integer of_getlocation () end prototypes public function integer of_glideout (string as_msg, integer ai_speed);//==================================================================== // Function: nvo_notifications.of_glideout() //-------------------------------------------------------------------- // Description: Glide in the window //-------------------------------------------------------------------- // Arguments: // string as_msg the message to display // integer ai_speed The speed the window should pop out //-------------------------------------------------------------------- // Returns: integer, -1 = failure, 0 = no action, 1 = success //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: nvo_notifications.of_glideout ( string as_msg, integer ai_speed ) //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_TaskBarX /* The X Pos of the taskbar */ Long ll_TaskBarY /* The Y pos of the Taskbar */ Long ll_TaskBarHeight /* The height of the TaskBar */ Long ll_TaskBarWidth /* The Width of the Taskbar */ Long ll_ScreenWidth /* The screen resolution */ Long ll_ScreenHeight /* The screen resolution */ Environment lenv /* initialize */ ib_Restart = False If ai_speed <= 0 Then /* FAILURE */ MessageBox( 'Error', ClassName() + '.of_GlideOut()~n~nInvalid parameter. Speed cannot be less than or equal to zero.' ) Return -1 End If /* Get the screen resolution */ GetEnvironment( lenv ) ll_ScreenWidth = PixelsToUnits( lenv.ScreenWidth, XPixelsToUnits! ) ll_ScreenHeight = PixelsToUnits( lenv.ScreenHeight, YPixelsToUnits! ) /* Get the dimensions of the taskbar */ This.of_GetTaskBarDimensions( ll_TaskBarHeight, ll_TaskBarWidth, ll_TaskBarX, ll_TaskBarY ) /* close the window if it is already open */ If IsValid( iw ) Then /* store the message and speed of the next message until the current message hides*/ is_RestartMsg = as_msg ii_RestartSpeed = ai_speed ib_Restart = True /* MARK THAT ONCE THE CURRENT WINDOW IS HIDDEN, A NEW ONE SHOULD POP-UP */ This.of_GlideIn( ) /* WAIT UNTIL THE WINDOW HAS MOVED DOWN */ Return 0 End If This.ii_mode = MODEOUT /* GLIDE OUT THE MESSAGE */ Open( iw ) iw.of_SetText( as_msg ) iw.Hide( ) /* Determine the location where to open the window */ Choose Case This.of_GetLocation() Case This.Top il_InFinalY = 0 - ( iw.Height - ll_TaskBarHeight ) il_InFinalX = ll_ScreenWidth - iw.Width - il_margin ii_Direction = MOVEDOWN Case This.Right il_InFinalY = ll_ScreenHeight - iw.Height - il_margin il_InFinalX = ll_ScreenWidth - ll_TaskBarWidth ii_Direction = MOVELEFT Case This.BOTTOM il_InFinalX = ll_ScreenWidth - iw.Width - il_margin il_InFinalY = ll_TaskBarY ii_Direction = MOVEUP Case This.Left il_InFinalY = ll_ScreenHeight - iw.Height - il_margin il_InFinalX = 0 -( iw.Width - ll_TaskBarWidth ) ii_Direction = MOVERIGHT End Choose ii_StepSize = ai_speed iw.Show( ) iw.Move( il_InFinalX, il_InFinalY ) /* glide the window out of the taskbar */ Choose Case ii_Direction Case MOVEDOWN il_outFinalX = il_InFinalX il_OutFinalY = il_InFinalY + iw.Height Case MOVELEFT il_outFinalX = il_InFinalX - iw.Width il_OutFinalY = il_InFinalY Case MOVEUP /* Set the final position */ il_outFinalX = il_InFinalX il_OutFinalY = il_InFinalY - iw.Height Case MOVERIGHT il_outFinalX = il_InFinalX + iw.Width il_OutFinalY = il_InFinalY End Choose /* start */ Start( .05 ) /* SUCCESS */ Return 1 end function protected function integer of_stop ();//==================================================================== // Function: nvo_notifications.of_stop() //-------------------------------------------------------------------- // Description: The gliding stopped. The window must be fixed //-------------------------------------------------------------------- // Arguments: //-------------------------------------------------------------------- // Returns: integer, -1 = failure, 0 = no action, 1 = success //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: nvo_notifications.of_stop ( ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== This.Stop() // Stop the timing Choose Case ii_Mode Case ModeOut /* fix window on final position */ iw.Move( il_outfinalx, il_outfinaly ) Case ModeIn /* close the window */ If IsValid( iw ) Then Close( iw ) If ib_Restart Then /* POP OUT THE NEXT WINDOW */ This.of_GlideOut( is_RestartMsg, ii_RestartSpeed ) End If End Choose Return 1 end function public function integer of_glidein ();//==================================================================== // Function: nvo_notifications.of_glidein() //-------------------------------------------------------------------- // Description: Hide the current window //-------------------------------------------------------------------- // Arguments: //-------------------------------------------------------------------- // Returns: integer, -1 = failure, 0 = no action, 1 = success //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: nvo_notifications.of_glidein ( ) //-------------------------------------------------------------------- // Modify History: // //==================================================================== If Not IsValid( iw ) Then /* WINDOW IS NOT OPEN */ Return 0 End If ii_mode = MODEIN /* REVERSE DIRECTION */ Choose Case ii_direction Case MOVEDOWN ii_direction = MOVEUP Case MOVELEFT ii_direction = MOVERIGHT Case MOVEUP ii_direction = MOVEDOWN Case MOVERIGHT ii_direction = MOVELEFT End Choose /* SET THE FINAL POSITION OF THE WINDOW */ il_OutFinalX = il_InFinalX il_OutFinalY = il_InFinalY /* start the gliding */ Start( .05 ) /* SUCCESS */ Return 1 end function public function integer of_gettaskbardimensions (ref long al_height, ref long al_width, ref long al_xpos, ref long al_ypos);//==================================================================== // Function: nvo_notifications.of_gettaskbardimensions() //-------------------------------------------------------------------- // Description: Calculate the dimensions of the Window's taskbar //-------------------------------------------------------------------- // Arguments: // ref long al_height The height of the taskbar in PBUnits // ref long al_width The width of the taskbar in PBUnits // ref long al_xpos The Horizontal position of the taskbar in pbunits // ref long al_ypos The Vertical position of the taskbar in pbunits //-------------------------------------------------------------------- // Returns: integer : -1 = failure, 0 = no action , 1 = success //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: nvo_notifications.of_gettaskbardimensions ( ref long al_height, ref long al_width, ref long al_xpos, ref long al_ypos ) //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ABM_GETTASKBARPOS = 5 appbardata lstr shappbarmessage( ABM_GETTASKBARPOS, lstr ) al_height = PixelsToUnits( lstr.rc.bottom - lstr.rc.Top , YPixelsToUnits! ) al_Width = PixelsToUnits( lstr.rc.Right - lstr.rc.Left, XPixelsToUnits! ) al_xpos = PixelsToUnits( lstr.rc.Left, XPixelsToUnits! ) al_ypos = PixelsToUnits( lstr.rc.Top, YPixelsToUnits! ) /* SUCCESS */ Return 1 end function public function integer of_getlocation ();//==================================================================== // Function: nvo_notifications.of_getlocation() //-------------------------------------------------------------------- // Description: Get the location of the taskbar //-------------------------------------------------------------------- // Arguments: //-------------------------------------------------------------------- // Returns: integer INTEGER: nvo_Taskbar.TOP, nvo_Taskbar.RIGHT, nvo_Taskbar.BOTTOM, nvo_Taskbar.LEFT //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: nvo_notifications.of_getlocation ( ) //-------------------------------------------------------------------- // Modify History: // //==================================================================== /* GET THE DIMENSIONS OF THE TASKBAR */ Long ABM_GETTASKBARPOS = 5 appbardata lstr Long ll_DTWidth // desktop width Environment lenv /* Get the screen resolution */ GetEnvironment( lenv ) ll_DTWidth = lenv.ScreenWidth /* Get the dimensions of the task bar */ shappbarmessage( ABM_GETTASKBARPOS, lstr ) If lstr.rc.Left < 0 And lstr.rc.Top < 0 Then If lstr.rc.Right >= ll_DTWidth Then /* TASK BAR IS AT THE TOP OF THE DESKTOP */ Return This.Top Else /* TASK BAR IS ON THE LEFT OF THE DESKTOP */ Return This.Left End If ElseIf lstr.rc.Left < 0 Then /* TASK BAR IS AT BOTTOM OF THE DESKTOP */ Return This.BOTTOM Else /* TASK BAR IS ON THE RIGHT OF THE DESKTOP */ Return This.Right End If Return 1 end function on nvo_notifications.create call super::create TriggerEvent( this, "constructor" ) end on on nvo_notifications.destroy TriggerEvent( this, "destructor" ) call super::destroy end on event timer;/*=============================================================================== Description : move the window Access : public Arguments : None Returns : -1 = failure 0 = no action 1 = success Note : Original code is free of copyright. Downloaded from http://www.pbinfo.be =============================================================================== Build Tricode Description of change Date ----- ------- --------------------- ---- 1.0 AOO Initial version 08/04/2003 ===============================================================================*/ CHOOSE CASE This.ii_direction CASE MOVEDOWN iw.Move( iw.x, iw.y + ii_StepSize ) IF iw.Y >= il_outFinalY THEN /* The end is reached */ This.of_Stop( ) END IF CASE MOVELEFT iw.Move( iw.x - ii_StepSize, iw.y ) IF iw.x <= il_outFinalX THEN /* The end is reached */ This.of_Stop( ) END IF CASE MOVEUP iw.Move( iw.x, iw.y - ii_stepsize ) IF iw.y <= il_outfinaly THEN /* The end is reached */ This.of_Stop( ) END IF CASE MOVERIGHT iw.Move( iw.x + ii_StepSize, iw.y ) IF iw.x >= il_outFinalX THEN /* The end is reached */ This.of_Stop( ) END IF END CHOOSE /* SUCCESS */ RETURN end event event destructor;/*=============================================================================== Description : Close the window Access : public Arguments : None Returns : -1 = failure 0 = no action 1 = success Note : =============================================================================== Build Tricode Description of change Date ----- ------- --------------------- ---- 1.0 AOO Initial version 14/04/2003 ===============================================================================*/ IF IsValid( iw ) THEN Close( iw ) end event |
Notifications Window
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
forward global type w_notifications from window end type type st_1 from statictext within w_notifications end type type gb_1 from groupbox within w_notifications end type end forward global type w_notifications from window integer x = 1056 integer y = 484 integer width = 896 integer height = 444 boolean titlebar = true string title = "Warning" boolean controlmenu = true windowtype windowtype = popup! long backcolor = 80269524 boolean palettewindow = true st_1 st_1 gb_1 gb_1 end type global w_notifications w_notifications forward prototypes public function integer of_settext (string as) end prototypes public function integer of_settext (string as);//==================================================================== // Function: w_notifications.of_settext() //-------------------------------------------------------------------- // Description: Set text //-------------------------------------------------------------------- // Arguments: // string as //-------------------------------------------------------------------- // Returns: integer, -1 = failure, 0 = no action, 1 = success //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/05/28 //-------------------------------------------------------------------- // Usage: w_notifications.of_settext ( string as ) //-------------------------------------------------------------------- // Modify History: // //==================================================================== st_1.Text = as Return 1 end function on w_notifications.create this.st_1=create st_1 this.gb_1=create gb_1 this.Control[]={this.st_1,& this.gb_1} end on on w_notifications.destroy destroy(this.st_1) destroy(this.gb_1) end on type st_1 from statictext within w_notifications integer x = 50 integer y = 56 integer width = 773 integer height = 272 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Tahoma" long textcolor = 33554432 long backcolor = 67108864 boolean enabled = false string text = "none" boolean focusrectangle = false end type type gb_1 from groupbox within w_notifications integer width = 859 integer height = 368 integer taborder = 10 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Verdana" long textcolor = 80269524 long backcolor = 80269524 borderstyle borderstyle = styleraised! end type |
Window Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 |
forward global type w_main from window end type type cb_2 from commandbutton within w_main end type type rb_veryfast from radiobutton within w_main end type type rb_fast from radiobutton within w_main end type type rb_normal from radiobutton within w_main end type type rb_slow from radiobutton within w_main end type type rb_veryslow from radiobutton within w_main end type type st_1 from statictext within w_main end type type sle_1 from singlelineedit within w_main end type type cb_1 from commandbutton within w_main end type type gb_1 from groupbox within w_main end type end forward global type w_main from window integer x = 1056 integer y = 484 integer width = 1568 integer height = 828 boolean titlebar = true string title = "Notifications Window Object" boolean controlmenu = true boolean minbox = true long backcolor = 80269524 cb_2 cb_2 rb_veryfast rb_veryfast rb_fast rb_fast rb_normal rb_normal rb_slow rb_slow rb_veryslow rb_veryslow st_1 st_1 sle_1 sle_1 cb_1 cb_1 gb_1 gb_1 end type global w_main w_main type variables nvo_notifications inv_notifications end variables on w_main.create this.cb_2=create cb_2 this.rb_veryfast=create rb_veryfast this.rb_fast=create rb_fast this.rb_normal=create rb_normal this.rb_slow=create rb_slow this.rb_veryslow=create rb_veryslow this.st_1=create st_1 this.sle_1=create sle_1 this.cb_1=create cb_1 this.gb_1=create gb_1 this.Control[]={this.cb_2,& this.rb_veryfast,& this.rb_fast,& this.rb_normal,& this.rb_slow,& this.rb_veryslow,& this.st_1,& this.sle_1,& this.cb_1,& this.gb_1} end on on w_main.destroy destroy(this.cb_2) destroy(this.rb_veryfast) destroy(this.rb_fast) destroy(this.rb_normal) destroy(this.rb_slow) destroy(this.rb_veryslow) destroy(this.st_1) destroy(this.sle_1) destroy(this.cb_1) destroy(this.gb_1) end on type cb_2 from commandbutton within w_main integer x = 878 integer y = 576 integer width = 553 integer height = 108 integer taborder = 30 integer textsize = -10 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" string text = "Glide in message" end type event clicked;If IsValid( inv_notifications ) Then inv_notifications.of_GlideIn( ) End If end event type rb_veryfast from radiobutton within w_main integer x = 622 integer y = 384 integer width = 375 integer height = 76 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Very Fast" boolean checked = true end type type rb_fast from radiobutton within w_main integer x = 242 integer y = 384 integer width = 343 integer height = 76 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Fast" end type type rb_normal from radiobutton within w_main integer x = 987 integer y = 288 integer width = 343 integer height = 76 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Normal" end type type rb_slow from radiobutton within w_main integer x = 622 integer y = 288 integer width = 343 integer height = 76 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Slow" end type type rb_veryslow from radiobutton within w_main integer x = 242 integer y = 280 integer width = 343 integer height = 76 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Very slow" end type type st_1 from statictext within w_main integer x = 27 integer y = 40 integer width = 274 integer height = 76 integer textsize = -10 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 boolean enabled = false string text = "Message:" alignment alignment = right! boolean focusrectangle = false end type type sle_1 from singlelineedit within w_main integer x = 320 integer y = 32 integer width = 1115 integer height = 92 integer taborder = 10 integer textsize = -10 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 string text = "Programmingmethodsit.com" boolean autohscroll = false borderstyle borderstyle = stylelowered! end type type cb_1 from commandbutton within w_main integer x = 110 integer y = 576 integer width = 553 integer height = 108 integer taborder = 20 integer textsize = -10 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" string text = "Glide out message" end type event clicked;Integer li_speed If Not IsValid( inv_notifications ) Then inv_notifications = Create nvo_notifications End If If rb_veryslow.Checked Then li_speed = inv_notifications.VERYSLOW ElseIf rb_slow.Checked Then li_speed = inv_notifications.SLOW ElseIf rb_normal.Checked Then li_speed = inv_notifications.NORMAL ElseIf rb_fast.Checked Then li_speed = inv_notifications.FAST ElseIf rb_veryfast.Checked Then li_speed = inv_notifications.VERYFAST End If inv_notifications.of_GlideOut( sle_1.Text, li_speed ) end event type gb_1 from groupbox within w_main integer x = 183 integer y = 192 integer width = 1243 integer height = 320 integer taborder = 30 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Arial" long textcolor = 33554432 long backcolor = 67108864 string text = "Gliding speed" end type |
Find Projects On Github click here
Good Luck!
Subscribe
Login
0 Comments