I created a prototype for my application. To make the application looks better, I decided to remove the scrollbar. Does anybody know how to make it?
There is two ways (see screenshot, numbers "1" and "2"). Go to region properties, User Interface tab:
(updated) Choose template Alert and set property Alert Icons - Hide Icons to hide alert icon.
or
In Standard template, choose Body Overflow - Hide (as far as I remember, this option present only in Oracle APEX 5.0 and higher)
Hopefully changing the css style helps:
.a-GV-w-scroll {
overflow: hidden!important;
}
See the "inline-css" on this page.
Related
I can't seem to figure out why, but my APEX page is showing "APEX.IG.SEARCH" as the search placeholder. How can I change this? I've looked through all of their docs and haven't found anything pointing to a fix.
If I have to, I can use JavaScript to change it, but wanted to see if there's an easier fix first. Also, on 5.0.4 of APEX
It is about *translating (Apex) messages" (https://docs.oracle.com/database/apex-18.2/HTMDB/translating-messages.htm#HTMDB14004). Search that page for APEX.IG.SEARCH; you'll find it under the Interactive Grid Messages Requiring Translation section (which is quite long).
So, what to do about it and how to change it?
while in App Builder, open your application
navigate to its shared components
in there, go to the Globalization section and click Text messages
click "Create text message" and set
Name: APEX.IG.SEARCH
Language: leave it as is (English, probably)
Used in JavaScript: leave it as is (Yes)
Text: put your own message in here; for example, "Enter search criteria and push the GO button"
Apply changes
If you run the page now, you should see the new text in the Interactive Grid Search's field.
I'm learning the new Wix Code online development IDE and want to understand how to control the visibility of an item on mobile or desktop. How should I approach this?
If you're just trying to hide things from mobile, there's an easier way to do it (go to the mobile editor and click the element's hide button).
But assuming you're asking about WixCode because you need custom behavior:
Check out the formFactor API
https://www.wix.com/code/reference/wix-window.html#formFactor
And the properties panel
https://support.wix.com/en/article/working-with-the-properties-panel-6441151
The properties panel is where you'll set the element's default visibility.
Then check the formFactor using that API above
And finally use $w('#elementname).show() or hide() to change its visibility.
You have two options -
If you only want to control what appears on mobile vs desktop, you have a toggle to hide elements on mobile.
If you want to change dynamically visibility of elements on each or both, use the formFactor and hide/show/collapse/expand APIs.
For instance, on a button click you may want to show element1 on desktop and element 2 on mobile. The code will look something like the following -
import wixWindow from 'wix-window';
export function button1_onClick() {
if (wixWindow.formFactor === 'Mobile') {
$w('#element2').show();
}
else {
$w('#element1').show();
}
}
I am migrating apex code from 4.2 to 5.0. Before we used the theme "Light Blue - 15" and now in order to use the navigation menu feature, we want to switch theme to "Universal Theme - 42".
When switching, one error window popped up and said "This application cannot be converted to a theme using list-based navigation, as it uses two levels of tabs. Please update the application and set current tabs settings to use only one level of tabs prior to switching the theme."
enter image description here
Then I checked my app current theme "Light Blue - 15" and it said this is one level tabs customized:
enter image description here
Is there anything wrong? Can you give me some help on how to resolve this kind of error?
I just stumbled upon this problem and it was kinda hard to research -- all answers were vague or just plain wrong.
APEX does not allow switching to Universal theme until all parent tabs are gone. You have to delete all of them and then you'll be able to switch your current theme to Universal. During import operation APEX turns all your tabs into a long list. Then add new parent items to that list and rebuild your menu tree.
You will not be able to make this switch. If you wish to use "Universal theme - 42" you will need to write your app in that theme from the ground up.
I am creating a property sheet shell extension and want to have a little icon to set off my property tab from the standard system tabs. Unfortunately, my icon is being rendered almost entirely in grey.
Original image:
In the property sheet tab:
At first I thought this was somehow my problem, but then I saw that TortoiseSVN appears to have the same problem:
This happens in both Windows 7 and Windows 8.
Does anyone know why these images are appearing so muted? Also, does anyone have any hints on how to make the icon look good in spite of this colorlessness?
The PropertySheet function initialises its tab control with a 16 color (ILC_COLOR) ImageList and copies the supplied icon for each page into it. There doesn't seem to be a way to override this and supply your own ImageList (or to specify the bit depth of the created ImageList). Presumably this is a legacy of the original Windows 95 code that never got updated as things moved on.
Instead of Property Sheets, you can use Tab Control, which makes tabs management more flexible and clear. And of course you can use any type of icons, because you have to create your own ImageList.
Here you can read about Tab Controls:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760548(v=vs.85).aspx
And here you can access example usage of Tab Controls:
Icons in Win32 Property Pages are ugly - 4 bit icons
how can i find the specific button on design mode where i have several buttons ie: hundered of buttons so that they all like spaghetti and one button may be under another button or a groupbox (i might be playing with the visibilities ) and i want to see my button number 83 on the design. how can i see him? where is he hiding? :) i use visual studio as an IDE. thanks.
MessageBox.Show(" where is the specific button? i know that he is somewhere on the form but cant distinguish it on the design since its somewhere under something i cant find it");
Use Document Outline (View - Other Windows - Document Outline)
Just pick the button from the tree and voila.
PS: this works for other types of designers (WPF/Silverlight, ASP.NET)
You can access it via the Properties Window. There is a drop-down that will list all of the items in your form in design mode.
Then use the drop-down. The drop-down will list all of the items on your form so you will scroll through the list to find Button number 83.
Images were pulled from MS Visual Studio: The properties Window which contains an explanation of the window.
Have you tried using the properties window?