Closed bdwilton closed 5 years ago
Forgot to say I'm getting link errors as follows
[ilink32 Error] Error: Unresolved external 'Vcl::Styles::Nc::TNCButton fastcall Vcl::Styles::Nc::TListNCControls::AddEx
I'm not using runtime link and bcc32c
Got it linking but just can't get any of the generics to link so wrote an AddButton function to just return the button from the AddEx function e.g. returns a TNCButton.
Not sure why the AddEx generics wont match when linking.
I've tried both 10.1.2 and 10.3.1 with the same results
Thought I got it working but not so far through AddEx
Hello,
I was just trying to test the latest code in 10.3.1 and translate the Delphi example to C++.
NCControls := TNCControls.Create(Self); //Set the image list NCControls.Images := ImageList1; //Add a NC Button NCControls.Controls.AddEx;
//Set the style of the button
NCControls[0].GetAs.Style := nsSplitButton;
//Set the style of the image
Just seem to be getting a bit stuck with the template parts.