object

  1. practicalsoft

    B4X FEED Easy CAD Dimensions

    DOWNLOAD LINK: EASY CAD DIMENSIONS IMPORTANT UPDATE: Dimensions styles Fast input for measurements Repeat object drawings WHAT IS NEW New architectural improvements Trim option is getting better Systems settings has new display scale settings for architectural drawing Tracking measurement...
  2. practicalsoft

    B4X FEED B4XDialog Yes/Cancel

    Hello, I'm new to B4XDialogs and I'm try to implement a Yes/Cancel simple dialog (without custom layout) like this: "Do you want to do this?" "Yes" "Cancel" If response = "yes" then 'Do this... If response = "Cancel" then 'Do nothing... How to do this using B4XDialog (XUI Views) ? I trying to...
  3. practicalsoft

    B4X FEED Designer object should first be initialised...

    This problem only occurs in debug mode, it works perfectly fine in Release mode. When I try to use loadlayout, I get an error that the imageview inside my layout must first be initialised, but since this is a designer added view, it should not need initialisation, right? Could it be a number...
  4. practicalsoft

    B4X FEED save user defined type object in ascii format (csv or other)

    Hi, I have a user defined type object. something like: B4X: Type Test1(Field1 as string, Field2 as string,Field3 as string) dim Obj1 as Test1 Obj1.initialize Obj1.Field1 = "text1" Obj1.Field2 = "text2" Obj1.Field3 = "text3" I would like to give the user the ability to save in a text format...
  5. practicalsoft

    B4X FEED Is it possible to set implicit caller?

    When creating an object that raises an event, is it possible to automatically address the caller module? In the following example, the testobject object raises an event: in the Initialize sub, I used Me to specify the current module. Is there another way to do it, so the Initialize sub can have...
  6. practicalsoft

    B4X FEED Ver 10 Warning

    With ver 10 i have this warning Profile - 240: Comparison of Object to other types will fail if exact types do not match. Better to put the object on the right side of the comparison. (warning #35) on "IF" for this code B4X: Wait For ion_Event (MethodName As String, Args() As Object) If...
  7. practicalsoft

    B4X FEED AHViewPager library - Sliding panels now perfect

    This library is a B4A implementation of the ViewPager object provided by the compatibility class from google. With this library it is possible to add sliding panels to your apps. AHPageContainer - This object is a container for the pages of the AHViewPager. You should add Panels to this object...
  8. practicalsoft

    B4X FEED Drag & Drop

    i use drag & Drop class. Classes are soon coming... Basic4android v2.00 will include support for classes. Classes are like templates which you can use to instantiate many objects. Users who are used to object oriented programming will sure find it easier to develop and maintain large projects...
  9. practicalsoft

    B4X FEED [Solved] Custom View not draw correctly when form resize

    HI All, I try to create a CustomView with B4XCanvas in B4J but found some thing does not work as expected. I already set the anchor to automatically resize when form resized. And this is the code in the Custom View class B4X: #DesignerProperty: Key: BooleanExample, DisplayName: Show...
  10. practicalsoft

    B4X FEED Custom View not draw correctly when form resize

    HI All, I try to create a CustomView with B4XCanvas in B4J but found some thing does not work as expected. I already set the anchor to automatically resize when form resized. And this is the code in the Custom View class B4X: #DesignerProperty: Key: BooleanExample, DisplayName: Show...
  11. practicalsoft

    B4X FEED How to cast an object to string?

    The MAP.GET() returns my string as an object. Now I want to trim the string, but how to cast an object to string? B4X: 'this is easy: Dim word as String = MyPropery.Get("Name") word = word.Trim 'but how to cast in one line? 'this will not work: Dim oneLine as String =...
  12. practicalsoft

    B4X FEED B4XDrawer error object should first be initialized

    I've included the last B4XDrawer library Android Tutorial - [B4X] B4XPages + B4XDrawer B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using B4XDrawer. It does require some configuration so pay attention. The example is based on the three pages...
  13. practicalsoft

    B4X FEED App crashes on Senderfilter execution.

    I'm experiencing this strange crash. Application that use to work fine with previous B4A versions, will not run when compiled with B4A 9.8 or B4A10. It stops on "wait for (senderfilter)" execution. Here is an example of the running code: Example: For Each records() As Object In res2.Rows...
  14. practicalsoft

    B4X FEED strange behaviour from B4A version 9.8. App crashes on Senderfilter execution.

    I'm experiencing this strange crash. Application that use to work fine with previous B4A versions, will not run when compiled with B4A 9.8 or B4A10. It stops on "wait for (senderfilter)" execution. Here is an example of the running code: Example: For Each records() As Object In res2.Rows...
  15. practicalsoft

    B4X FEED B4XPages & B4XDrawer -> App Crashes when Loading page with Drawer

    Hi All I am having an issue where my test app is crashing when moving to the second page of my App, It seems to relate to the left Pane drawer but I cant see what I am doing wrong. Error log below, Also attached a sample project for reference. One other question, How do I set the size for a...
  16. practicalsoft

    B4X FEED B4X IIF Function

    I'm just tired of having to hunt it down to add it to every project, and then reference whatever module I put it in. B4X: Sub IIF(ccc As Boolean, TrueVal As Object, FalseVal As Object) As Object If ccc Then Return TrueVal Else Return FalseVal End Sub ادامه مطلب...
  17. practicalsoft

    B4X FEED [Solved] Sub receive different classes type without use Object in its signature

    Hi, I want to implement a sub that can receive many types of classes as parameter (e.g. CustomLabel, CustomTextField etc.). Today I'm doing the following: B4X: Public Sub AddElement(element As Object) If element Is CustomLabel Then ... else if element Is CustomTextField then...
  18. practicalsoft

    B4X FEED Sub receive different classes type without use Object in its signature

    Hi, I want to implement a sub that can receive many types of classes as parameter (e.g. CustomLabel, CustomTextField etc.). Today I'm doing the following: B4X: Public Sub AddElement(element As Object) If element Is CustomLabel Then ... else if element Is CustomTextField then...
عقب
بالا