Strange ToC behaviour – linked to paragraph "start position"?
FM 9.0p250, unstructured, on XP; book contains cover.fm, ToC and body.fm
So: I take a large Word document provided by a colleague, add mml tagging, save as .txt and thus acquire a clean and workable FrameMaker file. In the first edit pass, I make sure that all the top-level headings use the same style, called :h1 in my docs since time began (or thereabouts). Everything behaves as expected, including the ToC that shows number and title followed by tab and page-number.
Time to fine-tune the layout, in this case by applying :h1_b to selected headings so they'll start at the top of a page. [not the moment to experiment with chains of keep-with-next]. The identical definitions for :h1TOC and :h1_bTOC are already in place on the ToC reference page in the generated table of contents and in the styles – so why does :h1_b not pick up the paragraph number or the tab? And come to that, how are ToC entries that only incude <$paratext> and <$pagenum> managing (in most cases) to include the <$paranum>? (separate issue)
I've managed to set things up to give me the required results, but only after considerable frustration; the .book seemed to remember the (faulty) ToC even when I'd deleted it and regenerated the book, but I fooled it by generating a ToC on the body file only. Which being so, it seems there must have been something, erm, quirky in body.fm? but if anyone can cast authoritative light on all this I'd be relieved to learn more!
N
See answer to your post 'Strange behaviour of UPDATE RETURNING BULK COLLECT INTO array' on the PL/SQL Pipelines, http://pipetalk.quest-pipelines.com.
Similar Messages
-
Strange memory behaviour using the System.Collections.Hashtable in object reference
Dear all,
Recently I came across a strange memory behaviour when comparing the system.collections.hashtable versus de scripting.dictionary object and thought to analyse it a bit in depth. First I thought I incorrectly destroyed references to the class and
child classes but even when properly destroying them (and even implemented a "SafeObject" with deallocate method) I kept seeing strange memory behaviour.
Hope this will help others when facing strange memory usage BUT I dont have a solution to the problem (yet) suggestions are welcome.
Setting:
I have a parent class that stores data in child classes through the use of a dictionary object. I want to store many differenct items in memory and fetching or alteging them must be as efficient as possible using the dictionary ability of retrieving key
/ value pairs. When the child class (which I store in the dictionary as value) contains another dictionary object memory handeling is as expected where all used memory is release upon the objects leaving scope (or destroyed via code). When I use a system.collection.hashtable
no memory is released at all though apears to have some internal flag that marks it as useable for another system.collection.hashtable object.
I created a small test snippet of code to test this behaviour with (running excel from the Office Plus 2010 version) The snippet contains a module to instantiate the parent class and child classes that will contain the data. One sub will test the Hash functionality
and the other sub will test the dictionary functionality.
Module1
Option Explicit
Sub testHash()
Dim Parent As parent_class
Dim d_Count As Double
'Instantiate parent class
Set Parent = New parent_class
'Create a child using the hash collection object
Parent.AddChildHash "TEST_hash"
Dim d_CycleCount As Double
d_CycleCount = 50000
'Add dummy data records to the child container with x amount of data For d_Count = 0 To d_CycleCount
Parent.ChildContainer("TEST_hash").InsertDataToHash CStr(d_Count), "dummy data"
Next
'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
'According to documentation and debug messages not really required!
Set Parent.ChildContainer("TEST_hash") = Nothing
'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
Set Parent = Nothing
End Sub
Sub testDict()
Dim Parent As parent_class
Dim d_Count As Double
'Instantiate parent class
Set Parent = New parent_class
'Create a child using the dictionary object
Parent.AddChildDict "TEST_dict"
Dim d_CycleCount As Double
d_CycleCount = 50000
'Blow up the memory with x amount of records
Dim s_SheetCycleCount As String
s_SheetCycleCount = ThisWorkbook.Worksheets("ButtonSheet").Range("K2").Value
If IsNumeric(s_SheetCycleCount) Then d_CycleCount = CDbl(s_SheetCycleCount)
'Add dummy data records to the child container
For d_Count = 0 To d_CycleCount
Parent.ChildContainer("TEST_dict").InsertDataToDict CStr(d_Count), "dummy data"
Next
'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
'According to documentation and debug messages not really required!
Set Parent.ChildContainer("TEST_dict") = Nothing
'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
Set Parent = Nothing
End Sub
parent_class:
Option Explicit
Public ChildContainer As Object
Private Counter As Double
Private Sub Class_Initialize()
Debug.Print "Parent initialized"
Set ChildContainer = CreateObject("Scripting.dictionary")
End Sub
Public Sub AddChildHash(ByRef ChildKey As String)
If Not ChildContainer.Exists(ChildKey) Then
Dim TmpChild As child_class_hashtable
Set TmpChild = New child_class_hashtable
ChildContainer.Add ChildKey, TmpChild
Counter = Counter + 1
Set TmpChild = Nothing
End If
End Sub
Public Sub AddChildDict(ByRef ChildKey As String)
If Not ChildContainer.Exists(ChildKey) Then
Dim TmpChild As child_class_dict
Set TmpChild = New child_class_dict
ChildContainer.Add ChildKey, TmpChild
Counter = Counter + 1
Set TmpChild = Nothing
End If
End Sub
Private Sub Class_Terminate()
Debug.Print "Parent being killed, first kill all childs (if there are any left!) - muahaha"
Set ChildContainer = Nothing
Debug.Print "Parent killed"
End Sub
child_class_dict
Option Explicit
Public MemmoryLeakObject As Object
Private Sub Class_Initialize()
Debug.Print "Child using Scripting.Dictionary initialized"
Set MemmoryLeakObject = CreateObject("Scripting.Dictionary")
End Sub
Public Sub InsertDataToDict(ByRef KeyValue As String, ByRef DataValue As String)
If Not MemmoryLeakObject.Exists(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
End Sub
Private Sub Class_Terminate()
Debug.Print "Child using Scripting.Dictionary terminated"
Set MemmoryLeakObject = Nothing
End Sub
child_class_hash:
Option Explicit
Public MemmoryLeakObject As Object
Private Sub Class_Initialize()
Debug.Print "Child using System.Collections.Hashtable initialized"
Set MemmoryLeakObject = CreateObject("System.Collections.Hashtable")
End Sub
Public Sub InsertDataToHash(ByRef KeyValue As String, ByRef DataValue As String)
If Not MemmoryLeakObject.ContainsKey(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
End Sub
Private Sub Class_Terminate()
Debug.Print "Child using System.Collections.Hashtable terminated"
Set MemmoryLeakObject = Nothing
End Sub
Statistics:
TEST: (Chronologically ordered)
1.1 Excel starting memory: 25.324 kb approximately
Max memory usage after hash (500.000 records) 84.352 kb approximately
Memory released: 0 %
1.2 max memory usages after 2nd consequtive hash usage 81.616 kb approximately
"observation:
- memory is released then reused
- less max memory consumed"
1.3 max memory usages after 3rd consequtive hash usage 80.000 kb approximately
"observation:
- memory is released then reused
- less max memory consumed"
1.4 Running the dictionary procedure after any of the hash runs will start from the already allocated memory
In this case from 80000 kb to 147000 kb
Close excel, free up memory and restart excel
2.1 Excel starting memory: 25.324 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released: 91,9%
2.2 Excel starting memory 2nd consequtive dict run: 27.552 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released: 99,4%
2.3 Excel starting memory 3rd consequtive dict run: 27.712 kb approximately
Max memory usage after dict (500.000 records) 90.000 kb approximately
Memory released:Hi Cor,
Thank you for going through my post and took the time to reply :) Most apreciated. The issue I am facing is that the memory is not reallocated when using mixed object types and is not behaving the same. I not understand that .net versus the older methods
use memory allocation differently and perhaps using the .net dictionary object (in stead of the scripting.dictionary) may lead to similar behaviour. {Curious to find that out -> put to the to do list of interesting thingies to explore}
I agree that allocated memory is not a bad thing as the blocks are already assigned to the program and therefore should be reallocated with more performance. However the dictionary object versus hashtable perform almost identical (and sometimes even favor
the dictionary object)
The hashtable is clearly the winner when dealing with small sets of data.
The issue arises when I am using the hash table in conjunction with another type, for example a dictionary, I see that the dictionary object's memory is stacked on top of the claimed memory space of the hashtable. It appears that .net memory allocation and
reuse is for .net references only. :) (Or so it seems)
In another example I got with the similar setup, I see that the total used memory is never released or reclaimed and leakage of around 20% allocated memory remains to eventually crash the system with the out of memory message. (This is when another class
calls the parent class that instantiates the child class but thats not the point of the question at hand)
This leakage drove me to investigate and create the example of this post in the first place. For the solution with the class -> parent class -> child class memory leak I switched all to dictionaries and no leakage occurs anymore but nevertheless thought
it may be good to share / ask if anyone else knows more :D (Never to old to learn something new) -
Strange Finder behaviour since installing Mountain Lion
I've been experiencing some strange finder behaviour since updating to Mountain Lion. Folders take several seconds to open after clicking on them (and sometimes won't open at all) and files cannot be moved around the desktop or dragged on to an app. However, it is possible to open a file by clicking on it. I've tried re-booting with Snow Leopard and everything seems OK, but as soon as I go back to ML, the problem starts again.
Library is a folder, not a file. There're more than one Library folders, one at the root and one for each user in your Mac. All of them are hidden, this is why you can't find them. But you can see their contents using
Finder Menu > Go > Go to Folder
And then type:
~/Library
for your Library Folder
-or-
/Library
for the root Library folder. -
Strange layout behaviour with TilePane
here is the demo
1.rootLayout have 2 child,controlbox and contentLayout
2.3 button on controlbox
3.contentLayout will add content,when press deffrent button on controlbox
4.watch button "Add TilePane" , strange layout behaviour , what is the matter?
layout picture
|--------------------------------|
| | |
| | |
| | |
| | |
|controlbox | contentLayout |
| (VBox) | (StackPane) |
| | |
| | |
| | |
| | |
|--------------------------------|
the code
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ListView;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.TilePane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class testTilePaneLayout extends Application {
StackPane contentLayout = new StackPane();
//add content with 2 Button
public void addContent(){
VBox vbox = new VBox();
contentLayout.getChildren().clear();
contentLayout.getChildren().add(vbox);
StackPane.setAlignment(vbox,Pos.CENTER);
Button btn = new Button("Button1");
Button btn2= new Button("Button2");
vbox.getChildren().add(btn);
vbox.getChildren().add(btn2);
//add content with 2 Button & 1 ListView
public void addListViewContent(){
VBox vbox = new VBox();
contentLayout.getChildren().clear();
contentLayout.getChildren().add(vbox);
StackPane.setAlignment(vbox,Pos.CENTER);
Button btn = new Button("Button1");
Button btn2= new Button("Button2");
vbox.getChildren().add(btn);
vbox.getChildren().add(btn2);
@SuppressWarnings("rawtypes")
ListView listView = new ListView();
vbox.getChildren().add(listView);
//add content with 2 Button & 1 TilePane
public void addTilePaneContent(){
VBox vbox = new VBox();
contentLayout.getChildren().clear();
contentLayout.getChildren().add(vbox);
StackPane.setAlignment(vbox,Pos.CENTER);
Button btn = new Button("Button1");
Button btn2= new Button("Button2");
vbox.getChildren().add(btn);
vbox.getChildren().add(btn2);
TilePane tilePane = new TilePane();
tilePane.setMaxSize(100,100);
Label lbl = new Label("Label on TilePane");
tilePane.getChildren().add(lbl);
vbox.getChildren().add(tilePane);
public void start(Stage stage) {
stage.setResizable(false);
stage.centerOnScreen();
Group root = new Group();
Scene scene = new Scene(root,800,600);
stage.setScene(scene);
//root Layout = StackPane
StackPane rootLayout = new StackPane();
root.getChildren().add(rootLayout);
rootLayout.setMinSize(800,600);
rootLayout.setMaxSize(800,600);
//content StackPane
rootLayout.getChildren().add(contentLayout);
contentLayout.setMinSize(100, 100);
contentLayout.setMaxSize(200, 200);
StackPane.setAlignment(contentLayout,Pos.CENTER);
//control VBox
VBox controlBox = new VBox();
rootLayout.getChildren().add(controlBox);
controlBox.setMaxSize(100, 200);
StackPane.setAlignment(controlBox,Pos.CENTER_LEFT);
//3 control button
Button btn1 = new Button("Add button");
Button btn2= new Button("Add Listview");
Button btn3= new Button("Add TilePane");
controlBox.getChildren().add(btn1);
controlBox.getChildren().add(btn2);
controlBox.getChildren().add(btn3);
btn1.setOnMousePressed(new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent arg0) {
addContent();
btn2.setOnMousePressed(new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent arg0) {
addListViewContent();
btn3.setOnMousePressed(new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent arg0) {
addTilePaneContent();
stage.show();
public static void main(String[] args) {
Application.launch(args);
}Edited by: noregister on Oct 4, 2011 11:30 AM
Edited by: noregister on Oct 4, 2011 11:31 AMOh, my bad. I'm actually using a JToggleButton and not a JButton, so the getRootPane().setDefaultButton() doesn't apply because it only takes JButton as an input param. I wonder why it wasn't implemented to take AbstractButton. hmmm.
-
How do i get the curser to be in the txt box i want it to be in the beginning...
also is there a way i can chose which txt box it goes to when i hit tab and i hate it when
i hit tab and it goes to the bottom play and pause buttons... can i stop that? thanks.. Im newHi there
For the mouse, you may only adjust the starting position on the first slide where it appears. Every slide after that uses the stop position of the slide before as the start position for that slide. If you need to adjust it, duplicate the slide and remove all objects except the mouse. Change the mouse to the new desired starting point and adjust the mouse and the slide so the play time is super brief. Perhaps .1 seconds.
As for the tabbing, you may need to insert a Click Box that doesn't do anything if it is clicked. This would then receive the tab focus and keep it from the playback controls. Or, you could visit fellow Adobe Community Expert Paul Dewhurst's site linked below and download a gizmo that will remove the highlight.
http://www.RaisingAimee.co.uk
If you like what Paul has to offer, drop some change in his tip jar and he will open the door to all his magickal goodies!
Cheers... Rick
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks -
Hi,
I'm currently facing a very strange Oracle behaviour. First of all, here are the settings:
* 2 CPUs @ 1,6 GHz
* Raid-0 with 2 x 160 GB
* 3 GB RAM
* Windows 2000 Advanced Server
* Oracle Standard 9.2.0.7 using standard settings for the instance
On the machine there is only one db (containing one instance) running, nothing else (beside the OS). The instance has 1GB shared memory assigned and contains about 5 GB of data distributed in approx. 750 tables.
I'm trying to delete all non-master data from the instance via simple "delete <table> where id in (select id from some_table)" statements in a script. This works perfectly (approx. 2-3 million deleted records per hour), processor load is about 50%, the Windows system monitor shows few hundred kilobytes of data read/written per minute.
But this changes after maybe one hour running time. CPU load sinks to 4-5% and data transfer rate rises to approx. 2GB(!!) per minute. I tried to abort the deleting process and rebuild all indexes as well statistics of the schema affected, but without any improvements. The only thing working at the moment is commiting the transaction and shutting down/restarting the instance. Afterwards everything is working fine (without index/statistic rebuilding!), but only for the time period mentioned before.
Does anyone know what could be the source of this behaviour? Anyone got any hints what to change for a better performance? I already thought of bulk inserting the whole schema in a cloned schema without constraints, but 700 tables contain a lot of constraints and triggers, so a consistent insert would be a pain in the tush...
Thanks in advance!No, the disks are internal as is the raid controller. And strangely enough, not writing causes a high data rate, but reading! I assume that if the caches are too small the DB starts reading the indexes time and again, but 2 GB of index reading per minute??? No way, I say. Few hundred kilobytes or even a few megabytes makes sense in my opinion, but not the amount mentioned...
Truncating the tables would be a solution, but have you already tried to empty a 750 table schema with constraints and triggers implementing data inheritance? I have, and it didn't work, afterwards data consistency was not given any more...
I have already tried to delete the data in batches, each followed by a commit operation. But this brought the same result after a while, which was reading GBs of data per minute... -
I would like to know how to include entries in my TOC that refer to paragraph styles listed before the TOC.
Example:
page i. Title Page
page ii. Abstract
page iii. Table of Contents
I want the TOC on page iii to include the entries "title page" and "abstract". Is this possible?
Thank you-Thesis formatting rules.
Can you answer another question?
How do I change the text for a TOC entry? For example,
I have selected the title on my first page, for example "Summer Report" and selected a paragraph style for it, and added it in the TOC. Now the TOC will have this entry for "Summer Report" and the associated page. But I want it to say "Title Page" instead. Can I edit this text? In order words, have the TOC point to something with whatever name I want to give it, even though it is not the actual name of the section? -
"Exception Processing Message" error when clicking the Accessing Server Data link on the start page
When I first started the application, I click the Accessing Server Data link on the start page. I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk". I had to used Task Manager to remove the box after closing Flash Builder 4. I then tried the video tutorial on "PHP Services in Flash Builder 4". I keep receiving an error during service introspection trying to connect to the PHP class. It was the same error as the other individual "Cannot Connect to PHP Service". So I tried another tutorial and generated a sample PHP class. I moved a datagrid on to the stage, droped in the getAllItems function, and configured the return type. However, when I ran the app, I received the same error "Exception Processing Message" again. I have attached the screenshot of the error in addition to my phpinfo and log files.
"The exception process message" is definitely a issue. Is it happening consistently, if so can you file a bug at bugs.adobe.com/flex and give out your machine config details, and the error log.
With regards to generating a new php file and the introspection error that you are getting, looking at the logs it probably is two fold.
First off the name of the file and the class name should be the same, are you having employeeServices as the name of the class in employeeServices.php file.
Second, It seems prior to generating this new file, you had a syntax error at line 5.
It would be easier to figure out what the error is, if you can also attach the php file, by removing any sensitive information in that.
Hope this helps.
Thanks
-Sunil -
"Not an executable or is a link" errors when starting Messaging Server
"Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem."Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem. -
Can you link to specific start and end pages of pdf in a web page
I'm using iframes to display a pdf on a web page. i want to be able to link to for example pages 2-3 of a 20page document.
I know i can link to a start page or a bookmark/destination but i only want those 2-3pages available to the viewer not the whole document.
Is this possible?Not without a server-side application that extracts those pages as a new
file and opens it instead of the original. -
Specify Starting Position in Sender FCC
Hi Experts Team,
I wish to specify the starting position of field in sender FCC.
can i????
regards,
kandaHi,
I think positions we can't identify with FCC statements. fieldfixedlengths itself system will identify automatically. If column have any specific character indication we can do easily. Check it according to your requirement. -
Set Start Position to Calculate Travel Time in Calendars
Hi All,
I am quite impressed with the new traveling time feature in Calendars, however I cannot seem to get the best out of it.
Is there a way to reset the start position for the calculations, I am thinking about the following senario;
Three appointments in the same day Appointment one calculates OK but appointment two calculates the start from the office and not the location of appointment one. Same thing happens with appointment three.
What I want to do is set the first appointment, calculate travelling time, set the second and calculate the traveling time from appointment one and then the same with appointment three.
The only way I have found to do this is to jump back and forward between calendar and maps and manually calculate like I used to do before this update.
Thanks in advance for any replies.sberman Southern California
This solved my questionRe: Calendar Travel Time Starting from Work when I want to Start from Home Oct 23, 2013 8:43 PM (in response to theglenlivet12)
From Calendar's help:
To set your starting location, Calendar first looks for your location in any events that are up to three hours before this event. If Calendar doesn’t find a location, it uses your work address during work hours and your home address during other hours. (Your work hours are set in Calendar preferences using the “Day starts at” and “Day ends at” menus.) If your card in Contacts doesn’t have your addresses, Calendar uses your computer’s current location. -
Start position follows playback
I am new to waveburner (and logic). I am looking for a way to set waveburner so when the transport is stopped, the cursor (start position) returns to the previous start position. In other words, you can start and stop playback repeatedly and the playback always begins from the same location.
The default behavior is having the start position follow the cursor during playback. I would like to change this...
Is this possible?
I know this is an option in both cubase and protools...
Thanks!
Zak Cohen - The Woodshop Studio
www.woodshoprecording.comHi Zak:
You can probably accomplish this by setting up a loop in Waveburner. (Do a search for Looping Playback in the WaveBurner manual). Loops can, according to the manual, be set up as follows:
To define a cycle area
In either time ruler, drag from the desired loop start position to the point where you want
looping to end.
Drag either of the cycle area handles to resize an existing cycle area.
You can also grab the center of the cycle area to move it, without changing the cycle
length.
That said, this used to work for me, but no longer does. I am going to post a message to that effect and find out if anyone has a solution. -
hi all.
i have a resultset of a sql query. then i wanna count the number of rows by doing a while loop:
while(rs.next())
count++;
then i wana do the same again, but it does not work anymore. i guess i have to set the pointer to its starting position, but i tried beforeFirst(), first(), absolute() and it didnt work. what method do i have to use for this?
thanks! :)
j0shUse the getType method to determine if your ResultSet is of type TYPE_FORWARD_ONLY. If it is
then you cannot reset the cursor. You may be able to obtain a result set that allows reseting the cursor by
passing the appropriate arguments to the createStatement method of your Connection. Whether your
will get one or not depends on the JDBC driver you are using and whether it supports them.
matfud -
Strange repaint behaviour with JList & Keyboard actions
Hi everyone,
This is my first post to the forum. You guys have been a great help in the past and I hope to contribute more in the future.
Anyways, I've encountered some strange repainting behaviour with a JDialog that uses a JList and a JButton. The dialog is fairly straight-forward and basically this is how it works (like an open file dialog - yes I'm implementing my own filechooser of sorts):
* JList lists a number of simple items that the user can select from.
* Once a selection is made, an Open button (JButton) is enabled.
* <ENTER> key is registered (using registerKeyboardAction()) with a JPanel which is used as the main content pane in the dialog.
* The user can either click on the Open Button or hit the <ENTER> key which then closes the dialog and runs whatever logic that needs to.
Now, the repaint problem comes in when:
1. User selects an item.
2. User hits the <ENTER> button
3. Dialog closes
4. User brings the dialog back up. This entails reloading the list by removing all elements from the list and adding new ones back in.
5. Now... if the user uses the mouse to select an item lower in the list than what was done in step #1, the selection is made, but the JList doesn't repaint to show that the new selection was made.
I didn't include a code sample because the dialog setup is totally straight-forward and I'm not doing anything trick (I've been doing this kind of thing for years now).
If I remove the key registration for the <ENTER> key from the dialog, this problem NEVER happens. Has anyone seen anything like this? It's a minor problem since my workaround is to use a ListSelectionListener which manually calls repaint() on the JList inside the valueChanged() method.
Just curious,
HuyOh, my bad. I'm actually using a JToggleButton and not a JButton, so the getRootPane().setDefaultButton() doesn't apply because it only takes JButton as an input param. I wonder why it wasn't implemented to take AbstractButton. hmmm.
Maybe you are looking for
-
These i7 4770K Temperatures And Voltage Values Are Normal With Z87-G43?
Hello everyone, I recently upgraded my good old Core2Duo rig and bought a new cpu-motherboard-ram trio. My new specs is as follows: - i7 4770K @ stock speed + Coolermaster 212Evo cpu cooler - MSI z87 g43 motherboard - 2x4 GB G-Skill Ripjaws X 1866Mhz
-
Ok,I am going CRAZY!! So my MacBook air just crashed, right so I went to the Apple Store a few hours ago, and they restarted everything so I have to start from scratch. Then the lady asked "would you like me to install the new version of the latest I
-
Getting IPC Exception Error while accessing the R/3 catalog item
Hi All, I am configuring Internet Sales B2B Scenario for a potential SAP AFS (ECC 6.0) client. For AFS, IPC is mandatory for AFS configurable materials(grid value items). I was able to configure the AFS(ECC 6.0), ISA(5.0) with NW2004s via XCM and com
-
Not able to log-on workspace/shared services after new inst thru index.jsp
Dear Specialist Team, I m Kalyan, new to HFM product installation. I have completed successful EPM installation with the help of user guides from Oracle. Installed on my local machine, able to work on Planning / Essbase Admin server, but not able to
-
Can anyone help me fix my iPod/iTunes problem?
I have an iPod Touch Gen 3 with iOS 5.1.1. I'm running Windows 8 (which is probably my first problem) and iTunes 11 or whatever the latest one is. For whatever reason, whenever I add a song from my laptop to my iPod, the song: A) either skips, only