DougHennig / Ribbon

A Microsoft Office 365-like ribbon control for VFP forms
24 stars 11 forks source link

Error when trying to run sample,scx #9

Closed skysurfer1 closed 2 years ago

skysurfer1 commented 2 years ago

I tried to run the sample.scx form with this command:

DO FORM "k:\_tools\_programming\ribbon-master\sample\sample.scx"

When I run it, it shows me the following message:

image

It occurs when executing this line of code in the "AddControl()" method of the "oRibbon" object.:

This.NewObject(tcName, tcClass, tcLibrary)

The values of the tcName, tcClass,and tcLibrary variables are "Home", "SFRibbonTab", and "SFRibbon.vcx", respectively.

What can I do in order to run the form correctly?

DougHennig commented 2 years ago

CD k:_tools_programming\ribbon-master DO Main or DO FORM Sample\Sample

skysurfer1 commented 2 years ago

Hi Doug:

Your suggestion made the form run fine.

Thank you.

El dom, 6 mar 2022 a la(s) 10:52, Doug Hennig @.***) escribió:

CD k:_tools_programming\ribbon-master DO Main or DO FORM Sample\Sample

— Reply to this email directly, view it on GitHub https://github.com/DougHennig/Ribbon/issues/9#issuecomment-1059987485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJBP226QJANIXQLDN7YDAMLU6TIEJANCNFSM5QASWJDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- Saludos cordiales,

Luis Guerra