Define a height predetermined for an ObjectChoiceField
I have an application with an ObjectChoiceField that displays the different names, some names are very long so I want to fix the ObjectChoiceField if he would measure the same and only a line of text even if the selection is longer than that, is it possible?
Thank you all,.
I found a solution without having to create a custom choice field.
When you create the choice of the Field object, override the methods page layout and the getPreferred height. GetPreferredHeight, the height should be set and the method of layout should look like this:
Protected Sub layout (int width, int height) {}
setExtent ((getPreferredWidth (), width), Math.min Math.min (getPreferredHeight (), height));
} //layout
Tags: BlackBerry Developers
Similar Questions
-
Agent is no t defined in the topology for master repository?
Hello
I created new Manager topology agent. I've updated the details of master repository in odiparams.bat
Then, I started the officer in the command prompt.
C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin > _name = odi_agent agent
Then I am getting error like
2015 08-04 ERROR ODI-1443 error 13:00:04.056 when starting agent: javax.servle
t.ServletException: ODI-1405: Agent OracleDIAgent start failure: the agent is not
t defined in the topology for master repository.
After that, I started the agent in the master repository:
C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin
And then I got error like below the screenshot
Please help me. Please solve this problem. I tried so many times.
Thanks in advance,
A.Kavya.
Hello
Your agent starts successfully, but you are unable to test studio odi agent. Right?
Then is your agent and odi studio are in the same host? If yes then you use localhost as a hostname in the topology Manager. You can try to use the Ip address or full host name in the topology for you Manager connect to the agent.
You can also check ping and telnet to the port of the agent to check if it is blocked or not. -
Detailed view how to define a template page for news?
Is there a way to define a page template for the detailed view of the news module?
I have a model page and added the {module_announcement,} configuration page. When the news is clicked on it always opens the default model: is it so it is designed to work or is there a way I can indicate that it uses a different page template?
Dave.
Hi Dave, see the image below:
-
How to set a class object defined by the user for objects of the ADF?
My requirement is that when I make a change to the object of the class, it should get reflectected to all instances on my page.
For example:-I'll have the class object clsInputField, and all my fields entry in my pages are based on this object. So when I change clsInputField it should get reflected to all my controls based on this class object.
Help, please!It's the classic use of a library of component declarative ADF.
Put your postal code entry filed in an adf library, as well as any other code you will need to manage the entry, pack it as a library of the adf and reuse the item (and its formatting, validation) on each page as you like.
If you change the component changes are global to all instances of the component.Take a look at this demo
Timo
-
How do you define a default homepage for tabs
Default homepage is pretty easy but when clicking on the '+' I want to open a tab the page she site for. You would think that he would make the default home page but it's not and I can't find where to put.
Hi, the default new tab page is on: newtab (tiles/thumbnail images) that can be set or changed like this: Type Subject: config in the address bar, press ENTER, accept the warning, scroll to browser.newtab.url and make sure that 'Value' is defined Subject: newtab (click right to change, if necessary, by taking care of not to change what anyone else).
If you want to have another page in the new tab, you can enter the appropriate URL instead of on: newtab (Firefox Start Page for example is Subject: House).
Hope that helps.
-
Hello Forums or
This is my first post on this forum and I've been using labview for about 8 months now
I have a problem about writing data in the modbus registers through a server of e/s defined as a slave modbus for my hardware 9074. Once I finished the project of construction and deployment of the variables and by following the instructions here , he reports no results but a row of zeros. I have the DSM nor opened and configuration modbus master to see whether the data is actually read or written on the respective sides that give the same line of zeros so. What I am actually trying to write is a single-precision floating data table. The registers are structured F40000-F46534 runs from 10 items or have them for range AF40001L1-AF46534L1 of the AF40001L10 point where it's an array of length 10. (Referenced beaches here)
I know 1 thing for you, the modbus connection works and is ready for data requests, I tested cela NI DSM and set manually the data for and received my master.
System and project specifications
Windows 7 operating system
LabVIEW edition development system complete 2011
No module Labview DSC, but I use the real time such referenced by one of the documents
This project is an application in real time with fpga mode (and not scan interface)
The master and the slave are the same network and subnet
Connection Modbus type: TCP
9074 compact slots rio 8
9234 module x 3
module 9221 x 1
9472 module x 1
Engine service Variable shared running on windows os and rtos system
Used this guide to learn more about the Protocol modbus, as I have searched all over the internet to learn more about modbus
I already have software Modbus IO Server installed on the crio thanks to max or 1.8 for NI RIO 4.0 version
file attachment (s)
Image of software specifications Crio
Image of data written in scheme-block rt variable
Short version of the problem: why is the e/s no variable writes in with the converted correctly data?
Okay, Yes, it's that I was the one proposed. Regarding the news of the error, if you look at the bottom of your image to DSM, you see a little commfail and an error code, but it seems that those are OK.
The only thing I can think is that DSM (or another function) is written for a range of values that includes 400004. I suggest you to put into service 4-going to a range of 3. 3 s are entered only (perspective control), then you can be sure that the master is not trampling on the data. Once you have checked that, look at DSM and any other code running to make sure q EU not accidentally write 0s to the same reg.
-
The return value to the line for dialogue ObjectChoiceField
Hello world
Is it possible the value of line so that when the items in ObjectChoiceField Dialog(the one that's pops up when you click on the field) appears on multiple lines according to the width of the text?
For now, it shows only one line per element truncate the ending text substituting... If any, it is displayed in several line wrapped Word when selected however.
For any help or suggestion would be greatly appreciated that I would need to display the full text when the user scrolls items in the context menu
Thank you & best regards
Maia
This is not supported by the ObjectChoiceField. You can create a custom field to accomplish this where you manually draw the sting using a Graphics object.
-
define the area reached for Movieclip button
Hello
button normal is too bad to use masks, movieclips or button etc, we can define the area with the image clicked
But how do I set the area reached for Movieclip button
I download the example fla file, I use a simple mask anime and when I roll over the button and go at the top of the button to exit slowly you can see the active, change button repeatly
Here is the link:
http://www.mediafire.com/download/5ca3na12r8g1dd8/movieclip_Button.fla
I don't download and fix the files unless I'm hired.
but here's a sample fla that allows you to find your own error, http://www.kglad.com/Files/forums/test2.fla
-
How to set the height width for an Image field in a web App?
I have a webApp to save the image of user with description, title. But when I display all items pictures are great, I want to know how to set the height and width for images?
Hello
To do this properly, you need to resize the image. Prefably before you put it in British Colombia. While you can to scale the image in CSS, you don't want to do. Why? Because the images are still very large and probably not optimized properly for the web.
This means that the page with these images will take a long time to load for people, and people will not be happy on the display of your site.
You must use a software such as photoshop, if you or iphoto on a mac for example for editing, crop and size of the images before uploading. If you do everything you can use free web based tools such as this one:
http://Pixlr.com/editor/You can also do in British Colombia itself in the file manager. If you click on the image you can see options to resize. The downside to this is's done it by pure mathematics. He doesn't know what is in the picture and the results can make the image etc. shrivelled.
-
After the installation of macOS Sierra my external screen shows only 16:9 (1920 x 1080 px with black bars on each side). He used to work before I updated. Now the correct resolution is not even appear in the display settings on my MacBook Pro (end of 2015). I don't want to use or pay for any external software, please fix this.
It seems to be a common problem: macOS Sierra no longer supports monitors ultrawide?
-
Defining a poster frame for iCloud, photo sharing
The Question:
How to set a custom frame displays for videos shared via iCloud, photo sharing?
Use case:
I have converted old home movies VHS into segments of small 3-5 minutes and you want to share these clips to my family via iCloud, photo sharing. This will allow the videos to travel with them on their iPhone.
The problem:
These segments are stored in the Photos app. I have chosen some of these segments and chose an image poster - it works. I right click, choose sharing to iCloud, photo sharing. The file appears in a newly shared album, but the poster frame is returned to the first frame of the video. In the case of the VHS, it's a blurred image, or a framework that does not clearly show the content (for example, a sofa, or heaven).
Right-clicking on a video gray shared on the option to reselect a poster frame.
What you need to do is clip from the first few frames of video in PHotos. Double-click on the video to open it in read mode. Click on the speed on the right button and select Trim.
Turn the left side of the yellow box to the right to remove foires executives
Click on the button on the right.
Now try to add to the shared album.
-
When I opened sites ftp from one of our other offices, I get a screen of login and password. Then the site will automatically open in Internet Explorer. So I go to the Page/open ftp site in Windows Explorer. So I enter my login and password again.
Is there a way to set a default value for ftp sites will automatically open in Windows Explorer, so I don't have to go through this all the time?
Hello
See:
FTP and Internet Explorer
http://blogs.msdn.com/Askie/archive/2009/04/16/FTP-and-Internet-Explorer-what-to-do-what-to-do.aspx
or
Another solution: go to My Network Places > add network place. Follow it
Wizard to add the FTP site. The URL format
ftp://username: * e-mail address is removed from the privacy * should work.If the system of sites is not on the desktop... Display properties > Desktop >
Customize > check it out.Hope this helps,
Don -
Define Associations & no Audio for DVD
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Ideas:
(1) by clicking on my E: drive and try to play a DVD: "this file has no program associated with it for performing this action. Create and link in the set Associations control panel. »
(2) there is no sound of any DVD I play other than the ambience and background music. There is no dialogue whatsoever.
It wasn't a problem until today trying to watch Repomen. I tried to download and merge an exefix, running a sfc/scannow and hit my face on my keyboard... all to nothing does not. I flipping hate PCs.
Really break your face on the keyboard did not work? It still works for me!
In all sincerity you have installed new software that can be played with your drivers?
It could be that repomen uses a sort of different DVD format that your computer is used to. On a high level, there is PAL and NA, maybe, you have sort of a PAL version.
If you have re-created the problem with films that worked perfectly, or is this only a problem on repomen?
-
define an id scsi for a disc newly added for virtual machines via script
Hi Experts,
I used the script below to add disks to several virtual machines
http://blog.mattvogt.NET/2013/03/14/PowerCLI-mass-add-hard-disks/But currently our requirement for change as if we must add 3 2 GB drives, the disks must the controller use SCSI (1:0) - (1:2)
And next bunch of disks, for example, should use use SCSI (2:0) - (2:2).
Y at - it an option to set the SCSI ID when adding new disks.
Please let me know if there is nothing we can achieve through scripts.Thanks in advance.
Kind regards
SouravTry this new version, it works for me in my test environment
### Get VM/Disk Count/Datastore information ### $vmname = Read-Host "VM Name to add disks to"$num_disks = Read-Host "number of disks to add"$ds = "Oracle DB Farm Datastore Group"$format = Read-Host "Disk Format (thin, thick, EagerZeroedThick)"$size = Read-Host "Disk Size (GB)" $vm = Get-VM $vmname$datastore = Get-DatastoreCluster -Name $ds ### Add $num_disks to VM1..$num_disks | %{ Write-Host "Adding disk $_ size $size GB and format $format to $($vm.Name) on datastore $datastore" if($_ -eq 1){ $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid} $ctrl = New-ScsiController -Type Paravirtual -HardDisk $hd } else{ $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format -Controller $ctrl $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid} }}
-
Defining the new path for the data files for restoring using the VALUE of NEWNAME FOR DATABASE
Version: 11.2.0.3 Linux
Today, I had to do a restore RMAN to a new server and I came across the post following RTO on the VALUE of NEWNAME FOR DATABASE
ALTER database open resetlogs upgraded; error to throw
So, I thought to use it to indicate the new location of the data files to restore.
That's what I did
===================
Restore the control file and catalog items to backup using the command of CATALOGUE START WITH. Then I started the restoration
Don't know how it worked for Levi without %f or %U. So, I added %f$ rman target / cmdfile=restore.txt Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:40:41 2012 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: SPIKEY (DBID=2576163333, not open) RMAN> run 2> { 3> SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey'; 4> restore database ; 5> } 6> 7> 8> executing command: SET NEWNAME RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of set command at 07/26/2012 04:40:43 RMAN-06970: NEWNAME '/fnup/hwrc/oradata/spikey' for database must include %f or %U format Recovery Manager complete.
As you can see, RMAN restore data files to the desired location. But the data file names ended up as$ vi restore.txt $ cat restore.txt run { SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f'; restore database ; } $ rman target / cmdfile=restore.txt Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:45:45 2012 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: SPIKEY (DBID=2576163333, not open) RMAN> run 2> { 3> SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f'; 4> restore database ; 5> } 6> 7> 8> executing command: SET NEWNAME Starting restore at 26-JUL-12 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=19 device type=DISK channel ORA_DISK_1: starting datafile backup set restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set channel ORA_DISK_1: restoring datafile 00001 to /fnup/hwrc/oradata/spikey/1 channel ORA_DISK_1: restoring datafile 00002 to /fnup/hwrc/oradata/spikey/2 channel ORA_DISK_1: restoring datafile 00003 to /fnup/hwrc/oradata/spikey/3 channel ORA_DISK_1: restoring datafile 00004 to /fnup/hwrc/oradata/spikey/4 channel ORA_DISK_1: restoring datafile 00005 to /fnup/hwrc/oradata/spikey/5 channel ORA_DISK_1: restoring datafile 00006 to /fnup/hwrc/oradata/spikey/6 channel ORA_DISK_1: restoring datafile 00007 to /fnup/hwrc/oradata/spikey/7 channel ORA_DISK_1: restoring datafile 00008 to /fnup/hwrc/oradata/spikey/8 channel ORA_DISK_1: restoring datafile 00009 to /fnup/hwrc/oradata/spikey/9 channel ORA_DISK_1: reading from backup piece /u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk channel ORA_DISK_1: errors found reading piece handle=/u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk channel ORA_DISK_1: failover to piece handle=/u07/dump/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk tag=SPIKEY_FULL channel ORA_DISK_1: restored backup piece 1 channel ORA_DISK_1: restore complete, elapsed time: 00:01:56 Finished restore at 26-JUL-12 Recovery Manager complete.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -----------| Holy Cow |-----------------------------1 2 3 . . . 9
So I had to rename each file as below
I would have been better in execution of the order for each data below file$ mv 1 /fnup/hwrc/oradata/spikey/system01.dbf $ mv 2 /fnup/hwrc/oradata/spikey/sysaux01.dbf $ mv 3 /fnup/hwrc/oradata/spikey/undotbs01.dbf
Now, I think, there is no advantage in using NEWNAME SET of DATABASE to. Only the disadvantages. I did anything wrong above?SET NEWNAME FOR DATAFILE
Martin;
On the issue of the VALUE of NEWNAME FOR DATABASE, you must specify at least one of the first three of the following substitution variables to avoid collisions of names: %b f % U. see semantic entry for TO 'filename' for a description of the possible substitution variables.
You use %f
%b Specifies the filename without the fully qualified directory path. For example, the datafile name /oradata/prod/financial.dbf is transformed to financial.dbf. This variable enables you to preserve the names of the datafiles while you move them to different directory. During backup, it can be used for the creation of image copies. The variable cannot be used for OMF datafiles or backup sets. %f Specifies the absolute file number of the datafile for which the new name is generated. For example, if datafile 2 is duplicated, then %f generates the value 2. %U Specifies a system-generated unique filename. The name is in the following format: data-D-%d_id-%I_TS-%N_FNO-%f. The %d variable specifies the database name. For example, a possible name might be data-D-prod_id-22398754_TS-users_FNO-7.
Source - E10643-01
Backup and recovery reference
http://docs.Oracle.com/CD/E14072_01/backup.112/e10643/rcmsynta2014.htm
I see CKPT and I agree on that!
Best regards
mseberg
Maybe you are looking for
-
I'm putting an iPhone my iCloud 6 more and it says no backups available.
I got my iPhone more stolen 6 and I'm trying to set up the new iPhone my iCloud 6 more and it said no backups available. I can see on my iCloud account, I have a backup. What is the problem?
-
I have an Iphone 6 and can't send or receive text messages to Iphone users not. I can send the Imessages blue very well, but it is impossible to send green messages any idea how to solve this
-
My volume control is missing from the taskbar.
Even if I had the volume control on the taskbar before, I get the message under sound & audio in the control panel volume control has not been installed and that I should go to add/remove program to install. How do I do that?
-
Screen appearance Aero disappeared after updating MS
I had an update Microsoft, rebooted and my screen looked a little strange. Then I remembered my old screen XP MS had that look. It is the appearance of the classic view. I opened my control panel to reset my Aero display... but it was more a this
-
I need to save a HP LaserJet 2300N printer, but I don't know if it has a hard drive or not. If this is the case, can someone please provide some guidance on how to remove the hard drive? Thank you in advance!