OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 22-06-2018, 12:04
aakkaarr aakkaarr is offline
Senior Member
Join Date: Jan 2009
Posts: 159
Default When passing TextBox in function corel 2018 does not take control as control

When passing TextBox in function corel 2018 does not take control as control
Control Variable in corel 2018 VBA not working.
Is someone also facing same problem

SunkRaised Me.Label300, -1

Public Sub SunkRaised(ctl As Control, i As Integer)
If i = -1 Then
ctl.SpecialEffect = fmSpecialEffectSunken
ElseIf i = 1 Then
ctl.SpecialEffect = fmSpecialEffectRaised
End If
End Sub

it says error 13

Last edited by aakkaarr; 22-06-2018 at 13:11.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
recentfile gms not working in corel X8 32 bit aakkaarr CorelDRAW/Corel DESIGNER VBA 0 06-04-2017 07:51
Corel Shapes to Canvas Control C# diegoroman17 CorelDRAW/Corel DESIGNER VBA 1 01-09-2012 13:09
how to pass control's name by variable aakkaarr CorelDRAW/Corel DESIGNER VBA 2 29-01-2010 13:12
How to control Corel Application Recovery Manager mitchellhu CorelDRAW/Corel DESIGNER VBA 1 24-10-2008 10:03
Object variable or with block variable not set.. m31uk3 Code Critique 2 26-12-2007 13:17

All times are GMT -5. The time now is 06:19.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com