B4A Library [B4A] [XUI] BMPopUp v1.2 - Brian Michael May 05, 2024 (37 reactions) Show2
Sub ViewMore_Click(PopUp As BMPopUp, lbl As Label)
Dim text As Label = PopUp.getCustomViewbyEventName("CustomText")
If Not(PopUp.isExpanded) Then
lbl.Text = Chr(0xF106) & " View Less"
text.SingleLine = False
Wait For (PopUp.expand(15dip,2)) Complete(R As Bool B4A Class [B4X] [XUI] AS Popup Menu - Alexander Stolte Jan 08, 2025 (38 reactions) This is a simple cross platform Popup Menu.
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. B4A Library [B4X] [XUI] AS PopupMenuAdvanced based on xCustomListView - Alexander Stolte Dec 16, 2024 (35 reactions) ASPopupMenuAdvanced
Events:
ItemClick (Index As Int, Tag As Object)
ItemLongClick (Index As Int, Tag As Object)
MenuClosed
Fields:
AutoHideMs As Int
CloseDurationMs As Int
OpenDurationMs As Int
Functions:
AddItem (xPnl As B4XView, Value As Object) As String
Add a item e.g. a panel with checkbo B4A Library [New] Google Play Games Services - Biswajit Nov 29, 2021 (28 reactions) Update 1.01: Fixed an issue related to the sign-out event triggered from popup activities (Achievements/Leaderboard) You can check the resultCode received from OnGPGSActivityResult event. If the resultCode = RESULT_RECONNECT_REQUIRED, then it means the user clicked on the sign-out button from the po B4A Class [B4X] myPopup popup menu (B4A/B4i) - kstainsb Sep 06, 2019 (38 reactions) Here's a small class which produces a simple popup menu anchored to a view. It works in B4A and B4i currently.
I've attached projects to show how it is used.
Enjoy.
New version 1.1 has better support for popup menus inside (nested?) scrollviews.
https://drive.google.com/uc?id= B4i Library iPopupDialog - A fully customizable popup dialog - Biswajit May 11, 2020 (10 reactions) PopupWidth As Int Get the popup width (useful for custom popup) Resize As String Call it from Page_Resize event if your application support both orientation Show (style As Int) As String Style must be any of the style constant You should set all properties you need before calling this UpdatePostion B4J Library [B4j] MenuButton - stevel05 Sep 18, 2023 (16 reactions) I wanted to add a menu to a form that is to be used in a narrow portrait orientation. I have dealt with this before using a normal button and a popup menu. but as there is a MenuButton control in JavafX I thought I'd wrap it. B4A Library [B4X] [XUI] AS AutoComplete based on AS SelectionList - Alexander Stolte Apr 09, 2025 (13 reactions) Should prevent the autocomplete from opening again as soon as the text is added to the text field Default: 1000 = 1 Second AnimationDuration As Long The duration for the opening and closing animation of the popup Default: 150 - Ticks/Milliseconds AutoCloseOnItemClick As Boolean Should the dialog c B4J Library Replacement TitleBar - stevel05 (first post) Sep 29, 2023 (4 reactions) Update V1.5
Added option to designer UsingStylesheet to stop colors being updated in code.
Renamed class Popup to TB_Popup to minimize the risk of the same class being loaded in multiple libraries.
Added Class TB_DSE containing : ClearAllStyles & AddStyleClass
Added some styleclassnames to the views B4A Class PopupMenu SubMenu - spsp May 15, 2020 (15 reactions) Hello,
The class clsPopupMenu shows a Popup Menu which can own sub menus.
The options are stored in a map. In the example they are in json file in the assets folder.
3 events are fired :
- open : A popup menu has been opened
- click : An option has been clicked
- close : A popup menu has been Page: 1 2 3 4 5 6 7 Powered by ColBERT |