B4A Code Snippet Set HTTP Request Header with OkHttpUtils2 - Erel    Sep 17, 2018   (12 reactions)   tags: http Description: The following code allows you to set the request headers before the request is sent. This is useful for example with sites that block requests without a User-Agent header. This code....SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0") It is a bit confusing as it seems that the header is set after the request was sent... after the current code execution completes. Note that you can set any number of headers... Share My Creation B4Rh2xml UI Simple tool to create B4R xml file from B4R header file - max123    May 1, 2024   (6 reactions) from B4R header files. Since this tool is a command line, I decided to create a simple GUI version... you are prompted to choose the header file on your hard drive, select it and then if all goes well, the tool create the xml file in the same directory of the header file. If you see errors, then your header..." MainForm.Title = " B4Rh2xml - Utility to create B4R xml file from B4R header file....InitialDirectory = CurrentDir End If fileChooser.SetExtensionFilter("B4R Header file... B4A Library [B4X] CLVHeader - Add a nice animated header to xCustomListView - Erel    Apr 30, 2019   (31 reactions)   tags: xcutomlist header 333276356 This is a replacement to the modified CLV class (https://www.b4x.com/android/forum/threads/b4x-xui-customlistview-with-animated-header.84245/#post-659768). The two attached projects demonstrate how to use it. Note that pnlTop is positioned above CLV (top position is the same). You need to handle the ScrollChanged event and delegate it to CLVHeader: Sub CustomListView1_ScrollChanged...): https://www.b4x.com/android/forum/threads/header-with-parallax-effect-for-ulv.97820/ The class... B4A Tutorial [B4X] [XUI] CustomListView with animated header - Erel    Apr 30, 2019   (19 reactions)   tags: listview, Clv /b4x-clvheader-add-a-nice-animated-header-to-xcustomlistview.105343/ 59958 252355084 This is a slightly modified version of xCustomListView. It adds a header. The header becomes shorter when the user scrolls down. An event is raised, which allows you to adjust the header's layout based on the current height. For example: Sub CustomListView1_UpdateHeaderSize (Height As Int) lblHeader.SetLayoutAnimated(0, 0, 0, pnlTop.Width, pnlTop.Height) lblHeader.TextSize = 20 + 20 * (Height... B4J Question [ABMaterial] how to create a fixed header - Cableguy    Nov 7, 2016   (1 reaction) Hi guys... I'm trying to conceptualize my first ABMaterial webapp, which will, for simplicity and learning purposes, is to be a single page, in which I plan to have a Fixed header with an image, a title and 3 icons (like a topnavbar, except the later does not accept an image unless I set a nevigation menu, which I do not want to), a ChronologyList component, and a fixed Footer with perhaps... on the first item, the header... ABM does not have a "Header" component with the specs to suite my... B4A Tutorial "Stick Header" CLV Demo - Mark Stuart    Nov 1, 2025   (8 reactions) A demonstration of using a "Stick Header" (Floating Title)... With Erel's help HERE... ChatGPT, it names it as a "sticky header". Either naming convention, it pretty much works... implement into your project. Screen shots of the CustomListView with the Sticky Header... of it. The only code that triggers the Sticky Header label to get its next value is this: Sub... of the Sticky Header, where there will be 2 headers. In this case, a header for the Year and a header for... B4J Code Snippet [server] list all request headers in a handler class - Erel    Oct 4, 2020   (5 reactions) Dim jo As JavaObject = req Dim collections As JavaObject collections.InitializeStatic("java.util.Collections") Dim headers As List = collections.RunMethod("list", Array(jo.RunMethodJO("getHeaderNames", Null))) For Each h As String In headers Log(h & ": " & req.GetHeader(h)) Next ... B4J Question TableView Header color - imbault    Feb 27, 2018 Hi, Does anyone knows how to setup TableView header color ? (TextColor and BackGround) I'd like this : 65011 Thanks a lot... B4A Question xCustomListView with sticky headers? - Sandman    Nov 12, 2025 I need to do something related to user interface and am considering my options. I have a vague memory of seeing an xCustomListView example with sticky headers in it, but I can't seem to find... B4J Question [RESOLVED]compressed size mismatch between central header and local header - Jmu5667    Aug 16, 2024 Good Morning
After th latest window 11 update this morning, I modifed a b4xlib and did the usual (zip, rename, then copy to additional libs folder). I then ran B4J and the following error occurs:
15... Page: 1   2   3   4   5   6   7   |