Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Anyone able to create a SAFOptionArray using visual studio vb.net?

(0) ShareShare
ReportReport
Posted on by 70

Trying to use the SAFOptionArray.  Unable to locate documentation using this object.  When converting a program from 6.5 to 7.0, able to get a SAFOptionArray object defined.  When trying to write a program from scratch, the SAFOptionArray object is not available to use.  I am looking for the steps to use this control from scratch. 

*This post is locked for comments

  • Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: Anyone able to create a SAFOptionArray using visual studio vb.net?

    Bruce

    I've tangled with this a in a screen built in 7.x.

    I found that:-

    - You don't need the SAFOptioArray.

    - The Names of the Radio Buttons must conform to a pattern that the kernel appears to require.

    I was creating a couple of buttons with a "basic name" of cFunction, and I found that I had to use control names of _cFunction_0  _cFunction_1 and _cFunction_2

    The Chk event Sub was

       Private Sub _cFunction_0_ChkEvent(ByRef ChkStrg As System.String, ByRef RetVal As System.Int16) Handles _cFunction_0.ChkEvent

    (Although I ended up with no code in that event, but my vague vague memory is that using that "Sub" caused the event to fire as I wanted. (There was some code in there at one stage - but it vanished during testing.)

    Hope that is some help.

    Barry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,419 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans