Non-visible fields...
Hi all
try to add a few fields to the manager. and am replacing the sublayout (int width, int height) at disposal fileds. It is the following code
protected void sublayout(int width, int height){ if(btn_worldof != null){ setPositionChild(btn_worldof, 10,5); layoutChild(btn_worldof, btn_worldof.getPreferredWidth(), btn_worldof.getHeight()); } if(btn_yes != null){ setPositionChild(btn_yes, 10,350); layoutChild(btn_yes, btn_yes.getWidth(), btn_yes.getHeight()); } if(btn_no != null){ setPositionChild(btn_no, 210,350); layoutChild(btn_no, btn_no.getWidth(), btn_no.getHeight()); } setExtent(width, height); }
the fields are not clear, because they are seemed to be. When I changed the field.getWidth () with getScreen () .getWidth () they appear fine. Field.getPreferredWidth () even is alos does not.
in any case the fields appear fien with getScreen (.getWidth), but I want to know the difference and the reason behind this appearance.
Note: all fields are native fields, not personalized.
Hi PraveenGoparaju,
You must try it. For pure native fields, we cannot identify the width and height.
bitmapField = new MyImage (Bitmap.getBitmapResource ("image.png"))
{
public int getPreferredWidth()
{
Return getBitmapWidth();
}
public int getPreferredHeight()
{
Return getBitmapHeight () / 2;
}
public void layout (int width, int height)
{
Super.Layout (getPreferredWidth (), getPreferredHeight());
}
};
Add (bitmapField);
LabelField label = new LabelField ("the label text")
{
public int getPreferredWidth()
{
Return Font.getDefault () .getAdvance (getText ());
}
public void layout (int width, int height)
{
Super.Layout (getPreferredWidth () / 2, Font.getDefault () .getHeight ());
}
};
Add (label);
Tags: BlackBerry Developers
Similar Questions
-
tabular form - update the non-visible fields
Hi gurus!
I built a tabular form over a table composed of 6 fields and I use the MRU to allow the user to edit the record; Two field in that table are not visible and editable by the user; I want to use the two fields to track which change the record (both fields are Modify_USER, Modify_date).
I want to insert in the two fields the values the user variable and the sysdate.
Is it possible, is there a way to do this with MRU or do I have to manually write the PL/SQL for this?
I'm on APEX 3.2
Any suggestion will be appreciated.
Thanks in advance,
DDFInstead of doing it this way, why not watch a trigger in the database, which will fill these columns when you perform an update on the table? The user will be & user_id. and the sysdate you already...
CREATE OR REPLACE TRIGGER Update_Table_X BEFORE UPDATE of Table_X ON R_RECORDS FOR EACH ROW BEGIN :new.Modify_date := sysdate; :new.Modify_USER := app_user; END;
Thank you
Tony Miller
Webster, TXA lady came up to me on the street, pointed at my suede jacket and said: "do you not know that a cow was murdered for that jacket?
' I didn't know there are witnesses ', I replied: "now, I'll have to kill you too. ' -
Non editable field change to highlight the problem
Hi all
I have an edit non editable field in my screen. In order to make the difference between editable and non editable field, I put the bottom of the field cannot be changed to light gray as in the code below:
Border nonEditableBorder=BorderFactory.createRoundedBorder(new XYEdges(5, 5, 5, 5),Color.LIGHTGRAY,Border.STYLE_FILLED|Border.STYLE_TRANSPARENT); EditField textField=new EditField(EditField.NO_NEWLINE|EditField.FOCUSABLE|DrawStyle.RIGHT); textField.setBorder(nonEditableBorder);
Now the field cannot be changed when I scroll the wheel to the right or left the text gets highlighted in white as shown in the image below:
I don't want the text to highlight. Can anyone help me please with this. Thanks in advance.
Kind regards
S.A.Norton Stanley
Hello
Thank you. Overridding method drawFocus() and nothing doing, emphasis has been disabled on the fields and the white highlight was not. But once I reached the first or the last field of the white selection screen gets drawn again. But the border I also assign the background of the field edit as shown below, and this solved my problem.
Background bgNonEditable = BackgroundFactory.createSolidBackground(Color.LIGHTGRAY); textField.setBackground(bgNonEditable);
-
How to make Non editable fields in Web ADI
Hi all
Can you please let me know how we can make the Non editable fields in Web ADI?
Thank you
AnilDear Anil
You define fields don't read that in the page layout.
Concerning
Giuseppe -
When we change the non-mandatory field in the form, it is not updated
Hello... I have a question here...
If I required fields in a custom form, and when I ask the form and change the value in the non-mandatory field and click on save, then it does not save. It is said ' no changes to save "." But it is not the same for the non-compulsory fields.
Can you please suggest me?
-vrdidaIf you have an element with an assigned LoV it much difference if you change the value of points (assuming that you have either the property 'Validate list', the value yes or you have a WHEN-VALIDATE-POINT-trigger who performs the search ID fk of the given text) or if you visit the 'empty' field, or NULL. In this case, you must create a WHEN-VALIDATE-trigger POINT on the element, which "cleans" the Fk - id as
IF :BLOCK.LOKUP_ITEM IS NULL THEN :BLOCK.FK_ID:=NULL; eNd IF;
-
validation working is not to count the non-null fields
I have six fields on the screen, I want to check that at least 3 of them are filled (3)...
I created a validation as follows to count the non-null fields... but it's not working...
Please help solve this problem or recommend a better way to do this...
declare
number of question_count;
Start
question_count: = 0;
If: p1_t_question_1 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: p1_t_question_2 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: p1_t_question_3 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: p1_t_question_4 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: p1_t_question_6 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: p1_t_question_6 is null then
null;
on the other
question_count: =: question_count + 1;
end if;
If: question_count > 2 then return false;
otherwise returns true;
end if;
end;I'll take a look a bit.
In the meantime, check if the code asIf the trim (both '%' from: p1_question_with_nul') = 'null '.
help
Ok. Take a look now. I used the function TRIM as shown above and also changed the comparison for questions 3 text based on ' if: p1_question_with_text is null'
Seems to work now
CITY
Published by: city has 23 October 2009 05:26
-
Non-visible text of contacts in Outlook
Hello
I suffer from the same issue that I found posted anywhere on the internet this morning - my Contacts list is illegible because the text is barely visible, as if the map is too small for the space allowed.I have:
My cache of dumping
Played with the zoom and CTRL - sets all the text to view, but at this time, it is too small to read.
Checked the section tools/options/content - minimum size fonts the value 'none', web sites set their own sizes.
All my browsers / add ons etc are up to date
It looks fine in IE, but I don't use IEWhat else is there?
Reset the zoom of page on pages that are causing problems.
- View > Zoom > reset (Ctrl + 0 (zero); 0 + Command on Mac)
You can use an extension to set a page zoom and the size of the default font on the web pages.
- Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
- NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
-
Click on the link inside the non-Focus field
Hi all
I use an ActiveRichTextField non-focusable because the field is part of a larger container making screenshots click on itself - not the children. This was done to make it easier for the user to scroll up and down on a list of text fields (do not have to move the focus to a line-of-text database).
Question:
My customer wants to activate by clicking on hyperlink. This is done natively by the ActiveRichTextField, but it cannot be activated because the emphasis is disabled.
Question:
Someone has any idea how to reconcile the conflicting requirements?
(a) the ActiveRichTextField should not be focusable on a baseline of text (if it is wrapped, of course)
(b) by clicking on the hyperlink should open the browser, etc.
Thank you.
You can get the x / y position of the textfield, but translate the active regions in x / there would be rather difficult (if possible at all).
I just looked at the API, but I don't see how you can extract the links (or information about them) as the analysis is done in the background.You can analyze the text yourself with regular expressions to detect hyperlinks and offer them in a context menu.
(e.g. http://www.regexguru.com/2008/11/detecting-urls-in-a-block-of-text/ )I usually change my paradigma UI if it turns out that a usecase I need is not taken in charge, but it is sometimes easier to patch something on.
Basically, your decision: change the user interface in order to support this usecase, or something (like the context menu) on this patch.
I would say to list the options see, then speak to the customer what he likes.
-
Windows 7, at the top of the non-visible applications
The top of many applications are not visible. I reduced the dpi to 100 without help, except that now I have to turn on the Magnifier.
I asked this question in a dozen different ways, and none of the response I get from search even closer to answer. Not same topic.
Hello beautiful,
Please keep us updated on the status of the issue.
I suggest you to check the issue in a new user account.
Please refer to the suggestions in this article.
Difficulty of a corrupted user profile
http://Windows.Microsoft.com/en-us/Windows/fix-corrupted-user-profile#1TC=Windows-7Please also update this link display adapter drivers:
Please answer with results so that we can help you further.
Thank you
-
Add the non-visible section on data of Formulation O/P ext
Hi I am using A6.1.1 version. I get as a result of problems during the creation or modification of a record of formulation:
1. the FormulationOutput > > ExtData > > add custom button Section or add an extended attribute is not present.
2. automatically Referesh is by default active to come.
3. No Add-button option on compliance, the elements of Nutrition.
4. Similarly USD/100 g is coming as non-editable in the entries.
5. access level is not visible.
and there are countless other things am not able to see that I used to see in previous versions.
The user that I use is ProdikaAdmin have all access and checked the EnvironmentSettings, the CoreAppSettings, the BaseFeatureConfig, CustomerSettings config files but was not able to solve this problem.
I just Guide to Configuration and Guide of security and Configuration settings checked still am face this problem.
Can you please tell me what to do to put things in place.
Thanks in advance
Please ensure current state of the workflow of spec of Formulation is "Designable" tag.
-
White on white page PDF non-visible objects
I created a white object in InDesign, I need to provide for the printing of T-shirt. When exporting to PDF the white object is not visible on the white background of the PDF.
Is there a way to show the limits of the object you can see them in InDesign not in preview mode?
Another solution would be to non-printable background, which is easy to create in InDesign, but converts it to white when you export to PDF or if you choose to display nonprinting areas, converts it to print again.
Any help
Or select the transparency grid in the Acrobat preferences.
-
Profile on the screens non-designer fields
- Configure Custom_Call_Profile_1 in the management of the IPK
- Add the field to the screen Designer (set properties as mandatory/DisplayBlank) and then export to htm file
- copy DIV section containg Custom_Call_Profile_1
- Paste it into InCallClose.htm - reset IIS etc.
This field displays ok, but the White option is not displayed instead, it displays not "specified".
Is there a way to display the field with the option blank? (It displays ok when added via the designer to a call screening)
I'm not among the references of JScript/hidden field at the top of the htm file.
Also you can get rid of the value unspecified?
I tried this on my test system and it works fine.
There should be no reason why the exact html generated by the designer would not work on closing screen.
I would recommend that you check the html code you copied and make sure it has the attributes highlighted:
profileid iwpropmandatory = "ismMandatory" = iwpropQDprofileID "38" = "profileid" ismDisplayBlankOption = "true" ismMandatory = "true">(more the event onchange in the upper part)
Note I copied the creator, and not the generated page source code. So there is not the
When I add this to my screen closing the White option appears and I can't submit until I choose a non-empty option.
You can enable the view source in the designer by setting the following registry key on your client computer.
HKEY_LOCAL_MACHINE (if Wow6432Node on 64-bit computer) \EMC\Ionix Service Manager\IN_WRAPPER
ViewSource = 1
Then right click on the element you want and select "View Source Element". This will give you the source code for this article (less all events)
Note: this registry should ONLY be set on the client computers of the developer. It allows other options to right click that we hide for a reason & can result in strange behavior if you select (such as the back browser button)
-
Visible field according to a choice of radio button
Hi all
I have this form where I have a group of yes/no radio buttons. I would like to a numeric field to appear only when users click Yes. When the form opens, or if users do not set it to Yes (not default) field should not appear.
There is a min and max limit attached to this field, which should only kick in when the field (limits of should not be applied when the field is hidden).
My questions are:
Where should I put the condition visible/hidden? In the Group of radio button or on each subform condition yes/no? I tried both, so far, but it did not work.
The script I've tried is (at the exit event of the Group of radio buttons):
If (this.rawValue == 2) {}
... RightDetection.ChoixYesNo.DetectionDelay.presence = "visible".
}
else (this.rawValue == 1) {}
... RightDetection.ChoixYesNo.DetectionDelay.presence = "hidden".
}
The limit min/max used to work before, but since I started playing with this area, I now have an error on the first bracket. Could someone tell me why?
The limit script is as follows:
If (this.rawValue < 1)
{
xfa.host.messageBox ("specify at least 1 in this area", "Warning", 1, 0);
xfa.host.setFocus (this);
}
If (this.rawValue > 365)
{
xfa.host.messageBox ("specify in most of the 365 in this area", "Warning", 1, 0);
xfa.host.setFocus (this);
}
Thank you very much in advance for your help.
Why not not just the value of the type field user entered - required
-
selection in the drop-down list makes the visible field
I have two drop down fields, select from the first drop down field provides a list of the items contained in the second drop-down list. When an item in the second drop-down list is selected, I want a hidden field to become visible.
I don't know how to write the script on the second menu drop-down to make the visible area. Here is the script that I have, which does not work:
If (this.rawValue == 'ACD');
{
agentID.presence = 'visible';
}
If (this.rawValue is 'Agent');
{
agentID.presence = 'hidden';
}
Thank you
M.Dawn
HI Margaret,.
Here is the corrected form https://acrobat.com/#d=D3yZytcriTw0pMp4S232Wg.
You had semi colon after the if statement (which was throw). Also, I've shortened the reference to the agentID object:
if (this.rawValue == "ACD") { agentID.presence = "visible"; } else if (this.rawValue == "Agents") { agentID.presence = "hidden"; }
Good luck
Niall
-
I have a club membership form I created. I want to allow a discount of 10% if it is the months of April to October,
I've implemented a field that performs this calculation (currently visible and active in the stream of calculation below). I want this field disappears from the view of the user and this calculation go dormant from 1 November to 31 March or the months of November to March.
I've been using FormCalc. Any ideas?
Gordon
You can try the following code in the Initialize event...
If (Num2Date (date ("M")) > 3 and Num2Date (Date ("M")))<11)>11)>
Write the code for APR - Oct period
DiscountField.presence = "visible";
on the other
Write code for the time of Nov - Mar
DiscountField.presence = 'hidden ';
endifSimilarly, you can use the same if condition in the calculation for the discount code...
Thank you
Srini
Maybe you are looking for
-
why I can't download the update... nothing happens
I get the message to be transferred to the new security feature, but it does not work. It is the third or fourth time that I asked this question and did not always receive a response.
-
Good evening, my name is Jaroslav, please help me, after installing ios 9.1.3 on air from my ipad, my device is started to carry out twice as fast... But according to Apple, the new ios 9.1.3 update makes the device faster and increases, autonomy, de
-
wdf 0x0000007E (0xc0000005, 0x88a56c9b, 0x8afca948, 0x8afca520) 01000.sys - address 88a56c9b base at 88a 12000 date stamp 4a5bbf28 BSOD happens only to reboot or shutdown.
-
Turn the removal of many upper air old on my PC it starts more quickly now, but with a mistake that I simply click on OK for, but I'd like to eliminate this problem. The message is "mm_tray.exe is not found. Application has failed to start because
-
help XP Activation Accidentally, I used my xp professional on my computer which had xp family on it. my computer says I need to activate windows, but when I click the icon, nothing happens. I can't go back to xp home, he beginning to install on the