Jan 9, 2021 Replies: 36 This library is an update of this source based on @Erel's code (here) New indicators in the shape of Heart, Infinity, Bubble have been added and some bugs have been fixed. NOTE: You can use this library for personal and commercial use. Include it in your projects. Attention, even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. If you want to study the code, a part of it can be found in the links above. Those are public and you can use them. SD_LoadingIndicator Author: Star-Dust Version: 0.04 SD_LoadingIndicator Functions: BringToFront DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object Hide Initialize (Callback As Object, EventName As String) RemoveViewFromParent RequestFocus SendToBack Show Snapshot As B4XView Properties: Height As Int Left As Int Top As Int Visible As Boolean Width As Int Attachments B4j Sample.zip B4j Sample.zip 2.4 KB · Views: 973 B4a Sample.zip B4a Sample.zip 8.7 KB · Views: 995 b4i Sample.zip b4i Sample.zip 2.6 KB · Views: 887 B4XPages_LoadingIndicators.zip B4XPages_LoadingIndicators.zip 16.8 KB · Views: 1,126 SD_LoadingIndicator.B4xLib SD_LoadingIndicator.B4xLib 3.7 KB · Views: 703 Last edited: Jul 9, 2023 Click to expand...
This library is an update of this source based on @Erel's code (here) New indicators in the shape of Heart, Infinity, Bubble have been added and some bugs have been fixed. NOTE: You can use this library for personal and commercial use. Include it in your projects. Attention, even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. If you want to study the code, a part of it can be found in the links above. Those are public and you can use them. SD_LoadingIndicator Author: Star-Dust Version: 0.04 SD_LoadingIndicator Functions: BringToFront DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object Hide Initialize (Callback As Object, EventName As String) RemoveViewFromParent RequestFocus SendToBack Show Snapshot As B4XView Properties: Height As Int Left As Int Top As Int Visible As Boolean Width As Int
LucaMs Expert Licensed User Longtime User Jan 9, 2021 #2 Very nice. Especially the heart, although it is known that "you" (people) loves with the liver ?
Harris Expert Licensed User Longtime User Jan 9, 2021 #3 LucaMs said: Very nice. Especially the heart, although it is known that "you" (people) loves with the liver ? Click to expand... ??? - what peeps?
LucaMs said: Very nice. Especially the heart, although it is known that "you" (people) loves with the liver ? Click to expand... ??? - what peeps?
LucaMs Expert Licensed User Longtime User Jan 9, 2021 #4 Harris said: ??? - what peeps? Click to expand... Who said that feelings reside in the heart? In my opinion they are in the liver ?
Harris said: ??? - what peeps? Click to expand... Who said that feelings reside in the heart? In my opinion they are in the liver ?
Harris Expert Licensed User Longtime User Jan 9, 2021 #5 I guess so... since mine is so busy processing my wine consumption...
Star-Dust Expert Licensed User Longtime User Jan 9, 2021 #6 Update rel. 0.02 Add new Indicator Last edited: Jan 10, 2021
LucaMs Expert Licensed User Longtime User Jan 10, 2021 #7 Perché (why) tre progetti d'esempio (three sample projects)? [teaching Italian ? ] Take this one (B4XPages), "create" the B4i layout (just copy & past views & script) and add it (since, as you know, I don't have B4i) and remove those samples. Attachments SD_LoadingIndicators.zip SD_LoadingIndicators.zip 15.9 KB · Views: 822
Perché (why) tre progetti d'esempio (three sample projects)? [teaching Italian ? ] Take this one (B4XPages), "create" the B4i layout (just copy & past views & script) and add it (since, as you know, I don't have B4i) and remove those samples.
Star-Dust Expert Licensed User Longtime User Jan 10, 2021 #8 LucaMs said: Perché (why) tre progetti d'esempio (three sample projects)? Take this one (B4XPages), "create" the B4i layout (just copy & past views & script), since, as you know, I don't have B4i, and remove those samples. Click to expand... Good idea. In the future I will do the B4Xlib examples like this.
LucaMs said: Perché (why) tre progetti d'esempio (three sample projects)? Take this one (B4XPages), "create" the B4i layout (just copy & past views & script), since, as you know, I don't have B4i, and remove those samples. Click to expand... Good idea. In the future I will do the B4Xlib examples like this.
LucaMs Expert Licensed User Longtime User Jan 10, 2021 #9 Prendi quello; poi eliminiamo questi ultimi 3 post.
TILogistic Expert Licensed User Longtime User Jan 10, 2021 #10 very pretty. And with more color parameters. Attachments 1.gif 100.3 KB · Views: 940
Star-Dust Expert Licensed User Longtime User Jan 10, 2021 #11 oparra said: very pretty. And with more color parameters. Click to expand... The idea is interesting, but since all the indicators have the same parameters, only the Style changes. To get what you want I should include the ability to select multiple colors for all styles. But not all styles need it. If I find a solution, I enter it
oparra said: very pretty. And with more color parameters. Click to expand... The idea is interesting, but since all the indicators have the same parameters, only the Style changes. To get what you want I should include the ability to select multiple colors for all styles. But not all styles need it. If I find a solution, I enter it
Star-Dust Expert Licensed User Longtime User Jan 10, 2021 #12 LucaMs said: Perché (why) tre progetti d'esempio (three sample projects)? [teaching Italian ? ] Take this one (B4XPages), "create" the B4i layout (just copy & past views & script) and add it (since, as you know, I don't have B4i) and remove those samples. Click to expand... I tweaked to make it work on the B4i and also put in a necessary change for android when the app pauses and then resumes
LucaMs said: Perché (why) tre progetti d'esempio (three sample projects)? [teaching Italian ? ] Take this one (B4XPages), "create" the B4i layout (just copy & past views & script) and add it (since, as you know, I don't have B4i) and remove those samples. Click to expand... I tweaked to make it work on the B4i and also put in a necessary change for android when the app pauses and then resumes
TILogistic Expert Licensed User Longtime User Jan 10, 2021 #13 Star-Dust said: I tweaked to make it work on the B4i and also put in a necessary change for android when the app pauses and then resumes Click to expand... View or B4XView For Each v As B4XView In Root.GetAllViewsRecursive Click to expand...
Star-Dust said: I tweaked to make it work on the B4i and also put in a necessary change for android when the app pauses and then resumes Click to expand... View or B4XView For Each v As B4XView In Root.GetAllViewsRecursive Click to expand...
Star-Dust Expert Licensed User Longtime User Jan 10, 2021 #14 oparra said: View or B4XView Click to expand... It is actually more correct this way, because it is only for B4A B4X: Private Sub B4XPage_Appear #IF B4A For Each v As View In Root.GetAllViewsRecursive If v.Tag Is SD_LoadingIndicator And v.Visible = True Then Dim x As SD_LoadingIndicator = v.Tag x.Show End If Next #END IF End Sub or B4X: Private Sub B4XPage_Appear #IF B4A For Each v As B4XView In Root.GetAllViewsRecursive If v.Tag Is SD_LoadingIndicator And v.Visible = True Then Dim x As SD_LoadingIndicator = v.Tag x.Show End If Next #END IF End Sub
oparra said: View or B4XView Click to expand... It is actually more correct this way, because it is only for B4A B4X: Private Sub B4XPage_Appear #IF B4A For Each v As View In Root.GetAllViewsRecursive If v.Tag Is SD_LoadingIndicator And v.Visible = True Then Dim x As SD_LoadingIndicator = v.Tag x.Show End If Next #END IF End Sub or B4X: Private Sub B4XPage_Appear #IF B4A For Each v As B4XView In Root.GetAllViewsRecursive If v.Tag Is SD_LoadingIndicator And v.Visible = True Then Dim x As SD_LoadingIndicator = v.Tag x.Show End If Next #END IF End Sub
TILogistic Expert Licensed User Longtime User Jan 10, 2021 #15 Only playing with three basic colors Attachments 2.gif 286.6 KB · Views: 951 Last edited: Jan 10, 2021
Star-Dust Expert Licensed User Longtime User Jan 10, 2021 #16 oparra said: Only playing with three basic colors Click to expand... In the majority it is not needed. If I find a sensible way I will insert it. Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. Last edited: Jan 10, 2021
oparra said: Only playing with three basic colors Click to expand... In the majority it is not needed. If I find a sensible way I will insert it. Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission.
TILogistic Expert Licensed User Longtime User Jan 10, 2021 #17 Star-Dust said: In the majority it is not needed. If I find a sensible way I will insert it. Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. Click to expand... Only playing!!
Star-Dust said: In the majority it is not needed. If I find a sensible way I will insert it. Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. Click to expand... Only playing!!
LucaMs Expert Licensed User Longtime User Jan 11, 2021 #18 Star-Dust said: Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. Click to expand... oparra said: Only playing!! Click to expand... I think we need to discuss this point (not here - will anyone open a thread about this? - but for the moment I want to comment on these two posts). My opinion is that if a developer publishes a b4xlib library he must consider it as all the example projects published on the site (they too are zip files), that is freely usable and modifiable by anyone; otherwise he would have to compile his libraries the "classic way" and publish these.
Star-Dust said: Please do not open or access the sources of my libraries. Even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission. Click to expand... oparra said: Only playing!! Click to expand... I think we need to discuss this point (not here - will anyone open a thread about this? - but for the moment I want to comment on these two posts). My opinion is that if a developer publishes a b4xlib library he must consider it as all the example projects published on the site (they too are zip files), that is freely usable and modifiable by anyone; otherwise he would have to compile his libraries the "classic way" and publish these.
Star-Dust Expert Licensed User Longtime User Jan 11, 2021 #19 LucaMs said: I think we need to discuss this point (not here - will anyone open a thread about this? - but for the moment I want to comment on these two posts). My opinion is that if a developer publishes a b4xlib library he must consider it as all the example projects published on the site (they too are zip files), that is freely usable and modifiable by anyone; otherwise he would have to compile his libraries the "classic way" and publish these. Click to expand... Already discussed with Erel, and not allowed. Otherwise we would have published the bas files. B4xlib is published for these reasons: 1. Best for the compiler. Changing compiler version to older libraries versions may have problems. So there are no problems 2. You use only one file for all platforms and not one for single platform 3. In the case of B4i, if you use the Builder, you need to ask for permission from erel to build a library. With B4xLib it is not necessary The latter reason is the main reason why I use the B4xLib. P.S. It is clear that there is a risk, but going to publish changes as Oparra did seems excessive to me. It's like stealing a neighbor's bike and walking in front of the window with the stolen bike .... At least hide ... Then if the neighbor calls the police, don't complain
LucaMs said: I think we need to discuss this point (not here - will anyone open a thread about this? - but for the moment I want to comment on these two posts). My opinion is that if a developer publishes a b4xlib library he must consider it as all the example projects published on the site (they too are zip files), that is freely usable and modifiable by anyone; otherwise he would have to compile his libraries the "classic way" and publish these. Click to expand... Already discussed with Erel, and not allowed. Otherwise we would have published the bas files. B4xlib is published for these reasons: 1. Best for the compiler. Changing compiler version to older libraries versions may have problems. So there are no problems 2. You use only one file for all platforms and not one for single platform 3. In the case of B4i, if you use the Builder, you need to ask for permission from erel to build a library. With B4xLib it is not necessary The latter reason is the main reason why I use the B4xLib. P.S. It is clear that there is a risk, but going to publish changes as Oparra did seems excessive to me. It's like stealing a neighbor's bike and walking in front of the window with the stolen bike .... At least hide ... Then if the neighbor calls the police, don't complain
LucaMs Expert Licensed User Longtime User Jan 11, 2021 #20 Orrenda! Horrible I was trying to imitate one I saw. I'll fix it. It does not use your library ? (nor the canvases, at the moment, just 3 Labels, but I will have to do it, so it doesn't work). I would like to show you what I saw but underneath there is a well-known brand
Orrenda! Horrible I was trying to imitate one I saw. I'll fix it. It does not use your library ? (nor the canvases, at the moment, just 3 Labels, but I will have to do it, so it doesn't work). I would like to show you what I saw but underneath there is a well-known brand