azzam223 Active Member Licensed User Longtime User Sep 11, 2017 #1 Hello Every I Created Wrapper Class but the class Is Depend on Another classes for example If I create wrapper shop class but when initialize the class must make refference To Another Class for exmaple Product How I can Creating Library From Depends Classes So When Compile the library I can Define Two variables one from Shopping Library and another from Product Class
Hello Every I Created Wrapper Class but the class Is Depend on Another classes for example If I create wrapper shop class but when initialize the class must make refference To Another Class for exmaple Product How I can Creating Library From Depends Classes So When Compile the library I can Define Two variables one from Shopping Library and another from Product Class
westingenieria Active Member Licensed User Longtime User Sep 11, 2017 #2 the main class you can write the version and another class only write the name for calling later. Upvote 0
azzam223 Active Member Licensed User Longtime User Sep 11, 2017 #3 thanks westingrnirtia but when I want To create another class inherits from the base class and import the library in the main class and the second class message shown that the sub is already created in other class How Can I import same library in main class and the second class when I try to import second class in main class some functions not defined and must import the library Upvote 0
thanks westingrnirtia but when I want To create another class inherits from the base class and import the library in the main class and the second class message shown that the sub is already created in other class How Can I import same library in main class and the second class when I try to import second class in main class some functions not defined and must import the library
Erel B4X founder Staff member Licensed User Longtime User Sep 12, 2017 #4 The simple option is to create a library with all the relevant classes. If it is not possible then you will need to compile the first classes to a library. Add a reference to that library and compile the other classes that depend on the first classes. Upvote 0
The simple option is to create a library with all the relevant classes. If it is not possible then you will need to compile the first classes to a library. Add a reference to that library and compile the other classes that depend on the first classes.
azzam223 Active Member Licensed User Longtime User Sep 12, 2017 #5 thanks Erel but IF I inherit the library in my class all it functions will be visible in my library or only functions that I created because I want To wrapper the library that reference in my library through import keyword If I want To add it To my library I must inherit it or there another to do that Upvote 0
thanks Erel but IF I inherit the library in my class all it functions will be visible in my library or only functions that I created because I want To wrapper the library that reference in my library through import keyword If I want To add it To my library I must inherit it or there another to do that