Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ok_cb and apply_cb question

Status
Not open for further replies.

Ehaviv

Computer
Jul 2, 2003
1,012
Hi

I read in somewhere that ok_cb call
apply_cb but in the source code that
blockstyler generate in the ok_cb
there is no call to apply_cb
can someone help to explain that.

Thank you.
 
Replies continue below

Recommended for you

Hi, here is the the ok_cb code that blockstyler generated for me in NX 12.0.2, a call to apply_cb is certainly there:

Code:
Public Function ok_cb() As Integer
        Dim errorCode as Integer = 0
        Try
        
            '---- Enter your callback code here -----
            errorCode = apply_cb()
        
        Catch ex As Exception
        
            '---- Enter your exception handling code here -----
            errorCode = 1
            theUI.NXMessageBox.Show("Block Styler", NXMessageBox.DialogType.Error, ex.ToString)
        End Try
        ok_cb = errorCode
    End Function
 
Hi Bleaker and thank you.

maybe my apply_cb accidentally deleted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor